s&box docs

public abstract class Sandbox.ParticleController : Sandbox.Component

Particles can have extra controllers that can modify the particles every frame.

Broader workflow and conceptual references connected to this API.

Constructors

Showing 1 constructors

Methods

Showing 7 methods

protected virtual void OnAfterStep(float delta)

Called after the particle step

protected virtual void OnBeforeStep(float delta)

Called before the particle step

protected virtual void OnDisabled()

protected virtual void OnEnabled()

protected virtual void OnParticleCreated(Sandbox.Particle p)

Implementations

protected virtual void OnParticleDestroyed(Sandbox.Particle p)

Implementations

protected virtual void OnParticleStep(Sandbox.Particle particle, float delta)

Called for each particle during the particle step. This is super threaded so you better watch out.

Implementations

Properties

Showing 1 properties

Metadata

FieldValue
NamespaceSandbox
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.ParticleController

On this page