Interface LoadGltfListener
-
public interface LoadGltfListenerInterface callbacks for events that occur when loading a gltf file into a renderable.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classLoadGltfListener.GltfLoadStageDefines the current stage of the load operation, each value supersedes the previous.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonFinishedFetchingMaterials()voidonFinishedLoadingModel(long durationMs)voidonFinishedReadingFiles(long durationMs)voidonReadingFilesFailed(java.lang.Exception exception)voidreportBytesDownloaded(long bytes)voidsetLoadingStage(LoadGltfListener.GltfLoadStage stage)voidsetModelSize(float modelSizeMeters)
-
-
-
Method Detail
-
setLoadingStage
void setLoadingStage(LoadGltfListener.GltfLoadStage stage)
-
reportBytesDownloaded
void reportBytesDownloaded(long bytes)
-
onFinishedFetchingMaterials
void onFinishedFetchingMaterials()
-
onFinishedLoadingModel
void onFinishedLoadingModel(long durationMs)
-
onFinishedReadingFiles
void onFinishedReadingFiles(long durationMs)
-
setModelSize
void setModelSize(float modelSizeMeters)
-
onReadingFilesFailed
void onReadingFilesFailed(java.lang.Exception exception)
-
-