Skip to main content

gltforge_node_mesh_index

Function gltforge_node_mesh_index 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn gltforge_node_mesh_index( ptr: *const UnityGltf, node_idx: u32, slot: u32, ) -> u32
Expand description

Return the mesh index of the slot-th mesh reference on node node_idx. Returns u32::MAX if out of range.

ยงSafety

ptr must be a valid, non-null handle.