#[repr(C)]pub struct ss_event_instance_info {
pub event_frame: i32,
pub start_label_hash: u32,
pub start_offset: i32,
pub end_label_hash: u32,
pub end_offset: i32,
pub loop_num: i32,
pub speed: f32,
pub independent: bool,
pub reverse: bool,
pub pingpong: bool,
pub is_synthetic_default: bool,
}Expand description
Resolved per-slot Instance event state, returned by
ss_runtime_get_active_event_instance.
The runtime forward-scans the parent’s EventsPerFrame and reports the
most recent EventInstance whose frame_index <= current parent frame
for slot_index. When no event is active, the function returns SS6
default semantics: is_synthetic_default = true, loop_num = 1,
speed = 1.0, all label hashes 0 (unset), all flags false.
start_label_hash / end_label_hash are returned raw. They are
already resolved internally by ss_instance_slot_step against the
child runtime context, which keeps late binding intact across
dynamic-swap of the child ssab.
Fields§
§event_frame: i32Parent frame_index this EventInstance was emitted at; 0 for synthetic default.
start_label_hash: u320 = unset → the child animation’s start frame.
start_offset: i32§end_label_hash: u320 = unset → the child animation’s end frame.
end_offset: i32§loop_num: i32-1 = infinite, >=1 = finite count.
speed: f32§independent: bool§reverse: bool§pingpong: bool§is_synthetic_default: booltrue = SS6 default (no real event active), false = real EventInstance.