public final class GltfModelTester


A data container for inspecting the properties of a GltfModel resource.

Summary

Public methods

boolean
equals(Object other)
final @NonNull byte[]

The raw byte data of the glTF asset.

final @NonNull String

A unique key identifying the asset in the fake rendering runtime.

final @NonNull String

The path or URI string of the glTF asset file used to create the GltfModel.

int

Public methods

equals

public boolean equals(Object other)

getAssetData

Added in 1.0.0-alpha16
public final @NonNull byte[] getAssetData()

The raw byte data of the glTF asset.

getAssetKey

Added in 1.0.0-alpha16
public final @NonNull String getAssetKey()

A unique key identifying the asset in the fake rendering runtime.

getAssetPath

Added in 1.0.0-alpha16
public final @NonNull String getAssetPath()

The path or URI string of the glTF asset file used to create the GltfModel.

This value represents:

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)).

hashCode

public int hashCode()