benilla-re systems structs docs

M2DrawBeginEmitter

function · models · primitive

Address
0x70ca50 · 192 bytes, up to 0x70cb0f
Meaning
Sets an emitter element's textures, lighting and material, and a view offset to the model
Confidence
verified, proof one
Finding
models/render#ribbon-particle-and-custom-draws
Test
models::model_matrix_translate_difftest

Finding: Ribbon, particle and custom draws in models: drawing

A ribbon, particle or custom element sets its material state, offsets the view to the emitter's frame, draws, and restores the view and texture matrix. A particle element's material takes its blend from the emitter record and the flags 4, plus 1 when the record's flag 1 is set, plus 2 when its flag 8 is set, plus 0x10 when its blend is above 1.

The derivation is in the doc.

Callers 4

Callees 7

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