• Sceneform SDK for Android was open sourced and archived (github.com/google-ar/sceneform-android-sdk) with version 1.16.0.
  • This site (developers.google.com/sceneform) serves as the documentation archive for the previous version, Sceneform SDK for Android 1.15.0.
  • Do not use version 1.17.0 of the Sceneform Maven artifacts.
  • The 1.17.1 Maven artifacts can be used. Other than the version, however, the 1.17.1 artifacts are identical to the 1.15.0 artifacts.

Node.LifecycleListener

public static interface Node.LifecycleListener
Known Indirect Subclasses

Interface definition for callbacks to be invoked when node lifecycle events occur.

Public Methods

abstract void
onActivated(Node node)
Notifies the listener that onActivate() was called.
abstract void
onDeactivated(Node node)
Notifies the listener that onDeactivate() was called.
abstract void
onUpdated(Node node, FrameTime frameTime)
Notifies the listener that onUpdate(FrameTime) was called.

Public Methods

public abstract void onActivated (Node node)

Notifies the listener that onActivate() was called.

Parameters
node the node that was activated

public abstract void onDeactivated (Node node)

Notifies the listener that onDeactivate() was called.

Parameters
node the node that was deactivated

public abstract void onUpdated (Node node, FrameTime frameTime)

Notifies the listener that onUpdate(FrameTime) was called.

Parameters
node the node that was updated
frameTime provides time information for the current frame