ParticleControllerclass

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

objectComponentParticleController
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public abstract class Sandbox.ParticleController : Sandbox.Component

Constructors1

Showing 1 constructors

Methods7

Showing 7 methods

protected virtual void OnAfterStep(float delta)PROTECTEDVIRTUAL

Called after the particle step

ParameterTypeDescription
deltafloat
Returns:void

protected virtual void OnBeforeStep(float delta)PROTECTEDVIRTUAL

Called before the particle step

ParameterTypeDescription
deltafloat
Returns:void

protected virtual void OnDisabled()PROTECTEDVIRTUALLIFECYCLE

Returns:void

protected virtual void OnEnabled()PROTECTEDVIRTUALLIFECYCLE

Returns:void

protected virtual void OnParticleCreated(Sandbox.Particle p)PROTECTEDVIRTUAL

ParameterTypeDescription
pParticle
Returns:void

protected virtual void OnParticleDestroyed(Sandbox.Particle p)PROTECTEDVIRTUALLIFECYCLE

ParameterTypeDescription
pParticle
Returns:void

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

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

ParameterTypeDescription
particleParticle
deltafloat
Returns:void

Properties1

Showing 1 properties

On this page