Skip to main content

ss_runtime_get_local_uvs

Function ss_runtime_get_local_uvs 

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

Per-part UVs for the current frame, written by ss_runtime_get_frame_data, matching ss_runtime_get_local_vertices: [lt.u, lt.v, rt.u, rt.v, lb.u, lb.v, rb.u, rb.v, center.u, center.v] = 10 floats, indexed by part_index * 10, in the cellmap’s texture-pixel space. Divide by the texture size to normalize.