public class Sandbox.Particle
Related Guides
Broader workflow and conceptual references connected to this API.
The particle system is designed to let you control the particles via your own code based components, if you choose to.
Facepunch provides some ready-to-use first-person weapons for you!
The scene system includes a programmable particle system, which can be controlled completely with components.
You can record gameplay into a MovieClip, which can be played back or imported into Movie Maker for editing. This could be useful for killcams in shooters, leaderboard replays in racing games, or for capturing gameplay to edit into a trailer.
Rendering, shaders, visual effects, and post-processing in s&box.
As you play with developing in s&box, you will notice some things are weird, missing, or suck. We are aware.
Constructors
Showing 1 constructors
public Particle()
No results match this filter.
Methods
Showing 7 methods
public void AddListener(Sandbox.Particle.BaseListener i, Sandbox.Component sourceComponent)
Add a listener.
public void ApplyDamping(float amount)
public static Sandbox.Particle Create()
public T Get(string key)
Get an arbituary data value
public float Rand(int seed = 0, int line = 0)
Parameters
seed: Default: 0line: Default: 0
public void RemoveListener(Sandbox.Particle.BaseListener i)
Remove a listener
public void Set(string key, T tvalue)
Set an arbituary data value
No results match this filter.
Properties
Showing 1 properties
public float Sandbox.Particle.LifeTimeRemaining { get; set; }
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Particle |