API ReferenceSandbox
public abstract class Sandbox.ParticleController : Sandbox.Component
Particles can have extra controllers that can modify the particles every frame.
Related Guides
Broader workflow and conceptual references connected to this API.
Constructors
Showing 1 constructors
protected ParticleController()
No results match this filter.
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
No results match this filter.
Properties
Showing 1 properties
public Sandbox.ParticleEffect Sandbox.ParticleController.ParticleEffect { get; set; }
The particle we're controlling
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.ParticleController |