class render::ParticleSystemProxy

Render-thread representation of a particle system, stored in packed arrays in ParticleSystemObjectStorageBase.

Public

Methods

GetWorldTransform

const Transform &GetWorldTransform() const

Returns the world space transform of the particle system.

GetId

u32 GetId() const

Returns an ID that uniquely identifies the particle system.

Can be used for locating evaluated particle system render data in the structure output by the ParticlesManager.

SetRendererId

void SetRendererId(PackedRendererId id)

Sets the renderer-assigned packed slot ID.

GetRendererId

PackedRendererId GetRendererId() const

Returns the renderer-assigned packed slot ID.

GetSettings

const SettingsType &GetSettings() const

Determines general purpose settings that apply to the particle system.

GetGpuSimulationSettings

const GpuSimSettingsType &GetGpuSimulationSettings() const

Determines settings that control particle GPU simulation.

GetLayer

u64 GetLayer() const

Determines the layer bitfield that controls whether a system is considered visible in a specific camera.

Layer must match camera layer in order for the camera to render the component.

Protected

Methods

GetParticleSystemData

const TParticleSystemData<true> &GetParticleSystemData() const

Returns a reference to the particle system data for the CRTP getter interface.

Fields

mData

mTransform

Transform mTransform

mId

u32 mId

mRendererId

PackedRendererId mRendererId