English
Interface: EffectDrawItem
Defined in: ssplayer-core/dist/index.d.ts:5607
One particle emitter group of one effect part, ready to be built and drawn.
Properties
blend
blend:
number
Defined in: ssplayer-core/dist/index.d.ts:5615
Raw EmitterState.blend_type (0 = Mix, 1 = Add) — the other half.
cellmap
cellmap:
number
Defined in: ssplayer-core/dist/index.d.ts:5613
Cell-map hash the particles sample — half of the batching key.
partAlpha
partAlpha:
number
Defined in: ssplayer-core/dist/index.d.ts:5621
The effect part's own opacity, folded into the vertex alpha.
particleOffset
particleOffset:
number
Defined in: ssplayer-core/dist/index.d.ts:5619
Where this command's particles start in the plan's shared flat buffers.
partIdx
partIdx:
number
Defined in: ssplayer-core/dist/index.d.ts:5609
The effect part this command belongs to.
plan
plan:
EffectDrawPlan
Defined in: ssplayer-core/dist/index.d.ts:5611
The part's draw plan. A zero-copy view over WASM memory.
quadCount
quadCount:
number
Defined in: ssplayer-core/dist/index.d.ts:5617
Quads in this command; 4 vertices and 6 indices each.