getRoot

actual fun getRoot(): Entity

Gets the transform root of the asset, an extra entity with no matching glTF node.

It exists so the entire asset can be transformed as one. For instanced assets this is a "super root" whose children are the per-instance roots, allowing all instances to be moved en masse.

expect fun getRoot(): Entity

Gets the transform root of the asset, an extra entity with no matching glTF node.

It exists so the entire asset can be transformed as one. For instanced assets this is a "super root" whose children are the per-instance roots, allowing all instances to be moved en masse.

actual fun getRoot(): Entity

Gets the transform root of the asset, an extra entity with no matching glTF node.

It exists so the entire asset can be transformed as one. For instanced assets this is a "super root" whose children are the per-instance roots, allowing all instances to be moved en masse.

actual fun getRoot(): Entity

Gets the transform root of the asset, an extra entity with no matching glTF node.

It exists so the entire asset can be transformed as one. For instanced assets this is a "super root" whose children are the per-instance roots, allowing all instances to be moved en masse.

actual fun getRoot(): Entity

Gets the transform root of the asset, an extra entity with no matching glTF node.

It exists so the entire asset can be transformed as one. For instanced assets this is a "super root" whose children are the per-instance roots, allowing all instances to be moved en masse.