Skip to main content

Module unity_game_object

Module unity_game_object 

Source

Functions§

gltforge_game_object_child
Return the index of the slot-th child of GameObject go_idx. Returns u32::MAX if out of range.
gltforge_game_object_child_count
Return the number of children of GameObject go_idx.
gltforge_game_object_count
Return the total number of GameObjects in the document.
gltforge_game_object_mesh_count
Return the number of mesh references on GameObject go_idx.
gltforge_game_object_mesh_index
Return the mesh index of the slot-th mesh reference on GameObject go_idx. Returns u32::MAX if out of range.
gltforge_game_object_name
Return the name of GameObject go_idx as UTF-8 bytes, or null if absent.
gltforge_game_object_transform
Write the local transform of GameObject go_idx into the caller-supplied 10-element f32 buffer.