Skip to main content

ss_runtime_get_mesh_vertices_x

Function ss_runtime_get_mesh_vertices_x 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn ss_runtime_get_mesh_vertices_x( context: *mut c_void, out_data: *mut *const c_float, out_len: *mut usize, )
Expand description

Mesh per-vertex X coordinates in world space, concatenated across all parts. Pair with ss_runtime_get_mesh_vertex_offsets to slice per-part ranges: part p’s vertices live at indices offsets[p]..offsets[p + 1]. Non-mesh parts contribute an empty range. SceneGraph render mode leaves the buffer empty (length 0).