struct ParticleSystemState

Contains particle system state that varies from frame to frame.

Public

Fields

TimeStart

float TimeStart

TimeEnd

float TimeEnd

NrmTimeStart

float NrmTimeStart

NrmTimeEnd

float NrmTimeEnd

Length

float Length

TimeStep

float TimeStep

MaxParticles

u32 MaxParticles

WorldSpace

bool WorldSpace

GpuSimulated

bool GpuSimulated

LocalToWorld

Matrix4 LocalToWorld

WorldToLocal

Matrix4 WorldToLocal

Material

HMaterial Material

Material used by the particle system, for evolvers that need material access.

ParticleScene

Pointer to the owning particle scene, for emitter sub-stepping callbacks.

Scene

Pointer to the scene instance, for physics queries.

AnimData

const EvaluatedAnimationData * AnimData

Animation data for the current frame.

Particles

ParticleSet * Particles

Active particle set, cached per-frame for simulation methods.

Evolvers

const Vector<SPtr<ParticleEvolver>> * Evolvers

Sorted evolver list, cached per-frame for simulation methods.

Rng

Random * Rng

Random number generator from the simulation fragment.