Scene.OnUpdateListener

  • Scene.OnUpdateListener is an interface used to receive callbacks once per frame before the scene is updated.

  • It has one abstract method, onUpdate, which is called with a FrameTime object providing timing information.

  • ArFragment and BaseArFragment are known indirect subclasses that utilize this listener.

public static interface Scene.OnUpdateListener
Known Indirect Subclasses

Interface definition for a callback to be invoked once per frame immediately before the scene is updated.

Public Methods

abstract void
onUpdate(FrameTime frameTime)
Called once per frame right before the Scene is updated.

Public Methods

public abstract void onUpdate (FrameTime frameTime)

Called once per frame right before the Scene is updated.

Parameters
frameTime provides time information for the current frame