benilla-re systems structs docs

M2SceneQueueCallback

function · models · primitive

Address
0x70a280 · 376 bytes, up to 0x70a3f7
Meaning
Queues a model callback with five arguments for the end of the scene advance
Confidence
verified, proof one
Finding
models/animation#update-and-events

Finding: Update and events in models: animation

Update(dt) adds dt to the pending time and, with a done or event callback set, walks the key bones that play. A bone's window runs from max(start stamp, now − dt) to min(now, end stamp), or to now for a looping sequence; reaching the end stamp queues the done callback once. In sequence-local times, at most one length apart, it walks the event's keys from start + (local mod length), wrapping at the range end, and queues the event callback for each key with local start ≤ key < local end, or the reverse when playing backwards. An event belongs to the first bone up its parent chain with a sequence. Attached children with a resolved, visible attachment update too.

The derivation is in the doc.

Callers 1

Callees 4

Calls and jumps by a bare address, from tables/calls.tsv.