SplineEmitterSetPath
function · models · orchestration
- Address
0x7b9a80· 26 bytes, up to0x7b9a99- Signature
void __thiscall (SplineParticleEmitter *this, const float *points, uint32_t count)- Meaning
- Sets the points of a spline emitter's Bezier curve
- Confidence
- verified, proof one
- Finding
- models/particles#emitter-model-loads
Finding: Emitter model loads in models: particles
The model's initializer gives an emitter its record's models. A record naming a model (+0x1c)
calls SetModel(scene, path): for a scene and a non-empty path it stores the scene at +0x94,
creates the instance at +0x90 and, once one exists, sets +0x28, which turns the emitter to
model particles (Model particles). A record naming a child model (+0x24) calls
LoadChildModel, which creates that instance at +0x98 and makes OnChildModelLoaded its loaded
callback. Once loaded, the callback appends the first min(count, 4) of the child model's
emitters to the four child slots at +0x80 and enables each. A spline record passes its points to
the curve at +0x2a8.
The derivation is in the doc.
Callers 1
- CM2Model::InitializeLoaded models
Callees 1
- SetSplinePath spline
Calls and jumps by a bare address, from tables/calls.tsv.