CM2Model::TransformEmitters
function · models · orchestration
- Address
0x7187f0· 116 bytes, up to0x718863- Signature
void __thiscall (CM2Model *this, const float *matrix)- Meaning
- Transforms every particle and ribbon vertex of an instance by a matrix
- Confidence
- verified, proof one
- Finding
- models/model#reference-frame
Finding: Reference frame in models: the instance
An instance can live in a moving frame, the world matrix of the transport its owner rides.
SetTransportFrame(m) copies m into +0x13c and makes it the frame; a null m clears the
frame. When a loaded instance gains a frame, its particles and ribbon vertices are moved into the
frame's space by its inverse; when it loses one, they are moved back by the frame. Changing one
frame for another moves nothing. Children with a resolved attachment take the same frame, an
attached child copies its parent's on every animate, and the emitters receive it as their frame.
The derivation is in the doc.
Callers 1
- CM2Model::SetReferenceFrame models
Callees 2
Calls and jumps by a bare address, from tables/calls.tsv.