GltfModelTester
class GltfModelTester
A data container for inspecting the properties of a GltfModel resource.
Summary
Public properties |
|
|---|---|
ByteArray |
The raw byte data of the glTF asset. |
String |
A unique key identifying the asset in the fake rendering runtime. |
String |
The path or URI string of the glTF asset file used to create the |
Public functions
Public properties
assetKey
val assetKey: String
A unique key identifying the asset in the fake rendering runtime.
assetPath
val assetPath: String
The path or URI string of the glTF asset file used to create the GltfModel.
This value represents:
-
The
pathparameter fromGltfModel.createwhen created via ajava.nio.file.Path(relative to the application'sassets/folder). -
The
uriparameter fromGltfModel.createwhen created via anandroid.net.Uri.
The default value is "" (an empty string). This typically indicates that the model was not loaded from a file path or URI (for example, if it was created using a byte array via GltfModel.create(session, assetData, assetKey)).