public interface GltfAsset
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
getBinaryData()
Returns the binary data of this asset, or
null if this
asset does not have associated binary data. |
java.lang.Object |
getGltf()
Returns the version-specific glTF object.
|
java.nio.ByteBuffer |
getReferenceData(java.lang.String uriString)
Returns the byte buffer containing the data of the external resource
with the given (relative!)
|
java.util.Map<java.lang.String,java.nio.ByteBuffer> |
getReferenceDatas()
Returns an unmodifiable view on the mapping from relative URI strings
to the byte buffers containing the data of the external resources.
|
java.util.List<GltfReference> |
getReferences()
Return a list of all
GltfReference objects that refer to
external resources for this asset |
java.lang.Object getGltf()
version 1.0 glTF or
or a version 2.0 glTFjava.nio.ByteBuffer getBinaryData()
null if this
asset does not have associated binary data.java.util.List<GltfReference> getReferences()
GltfReference objects that refer to
external resources for this assetGltfReference objectsjava.nio.ByteBuffer getReferenceData(java.lang.String uriString)
null if there is
no such data.uriString - The URI stringjava.util.Map<java.lang.String,java.nio.ByteBuffer> getReferenceDatas()
Copyright © 2022. All Rights Reserved.