public final class GltfReference
extends java.lang.Object
GltfAsset.| Constructor and Description |
|---|
GltfReference(java.lang.String name,
java.lang.String uri,
java.util.function.Consumer<java.nio.ByteBuffer> target)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Returns the name of the external resource
|
java.util.function.Consumer<java.nio.ByteBuffer> |
getTarget()
Returns the target that is supposed to receive the binary
data that was read from the external resource
|
java.lang.String |
getUri()
Returns the (relative) URI of the reference
|
public GltfReference(java.lang.String name,
java.lang.String uri,
java.util.function.Consumer<java.nio.ByteBuffer> target)
name - The name of the external resourceuri - The (relative) URI of the referencetarget - The target that is supposed to receive the binary
data that was read from the external resourcepublic java.lang.String getName()
public java.lang.String getUri()
public java.util.function.Consumer<java.nio.ByteBuffer> getTarget()
Copyright © 2022. All Rights Reserved.