SceneHelpers extension
Convenience helpers on the flatbuffer scene root.
- on
Methods
-
getChild(
int index) → Node? -
Available on Scene, provided by the SceneHelpers extension
Returns theindex-th direct child of the scene root, ornullif 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 aMatrix4, or the identity matrix when the scene has no transform set.