Api Sandbox Particle
class

Particle

public class Particle

Constructors

Particle()

Properties

Name Type Description
LifeTimeRemaining Single

Methods

static Particle Create()
T Get(String key)

Get an arbituary data value

Void Set(String key, T tvalue)

Set an arbituary data value

Void ApplyDamping(Single amount)
Single Rand(Int32 seed = 0, Int32 line = 0)
Void AddListener(BaseListener i, Component sourceComponent)

Add a listener.

Void RemoveListener(BaseListener i)

Remove a listener

Fields

Name Type Description
Position Vector3
Size Vector3
Velocity Vector3
Color Color
OverlayColor Color
Alpha Single
BornTime Single
Age Single
Radius Single
Angles Angles
Sequence Int32
SequenceTime Vector3
Frame Int32
Random01 Single
Random02 Single
Random03 Single
Random04 Single
Random05 Single
Random06 Single
Random07 Single
HitPos Vector3
HitNormal Vector3
HitTime Single
LastHitTime Single
StartPosition Vector3
LifeDelta Single A range from 0 to 1 descriving how long this particle has been alive
DeathTime Single The time that this particle is scheduled to die
TimeScale Single
Pool static Queue<Particle>
Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.Particle