SceneHelpers extension

Convenience helpers on the flatbuffer scene root.

on

Methods

getChild(int index) Node?

Available on Scene, provided by the SceneHelpers extension

Returns the index-th direct child of the scene root, or null if the index is out of range or the scene has no children.
transformAsMatrix4() → Matrix4

Available on Scene, provided by the SceneHelpers extension

Returns the scene's root transform as a Matrix4, or the identity matrix when the scene has no transform set.