Skip to main content

ss_runtime_set_part_cell_override

Function ss_runtime_set_part_cell_override 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn ss_runtime_set_part_cell_override( context: *mut c_void, part: u32, cellmap_name_hash: u32, cell_name_hash: u32, priority_mode: c_uchar, ) -> bool
Expand description

Set a per-part cell override, identified by FNV-1a hashes of the cellmap name (without .ssce) and the cell name. (0, 0) reverts to the animation. priority_mode: 0=OverwriteOnNextKeyframe 1=HoldUntilNextAnimation 2= Permanent. Normal + Mask parts only. Fails if the cell cannot be resolved.