March 20, 2020 update:

LoadGltfListener

public interface LoadGltfListener

Interface callbacks for events that occur when loading a gltf file into a renderable.

Nested Classes

enum LoadGltfListener.GltfLoadStage Defines the current stage of the load operation, each value supersedes the previous. 

Public Methods

abstract void
abstract void
onFinishedLoadingModel(long durationMs)
abstract void
onFinishedReadingFiles(long durationMs)
abstract void
abstract void
reportBytesDownloaded(long bytes)
abstract void
abstract void
setModelSize(float modelSizeMeters)

Public Methods

public abstract void onFinishedFetchingMaterials ()

public abstract void onFinishedLoadingModel (long durationMs)

Parameters
durationMs

public abstract void onFinishedReadingFiles (long durationMs)

Parameters
durationMs

public abstract void onReadingFilesFailed (Exception exception)

Parameters
exception

public abstract void reportBytesDownloaded (long bytes)

Parameters
bytes

public abstract void setLoadingStage (LoadGltfListener.GltfLoadStage stage)

Parameters
stage

public abstract void setModelSize (float modelSizeMeters)

Parameters
modelSizeMeters