API ReferenceSandbox
ParticleSphereEmitterclass
Emits particles within a sphere shape.
Constructors1
Showing 1 constructors
public ParticleSphereEmitter()
No results match this filter.
Methods1
Showing 1 methods
public virtual bool Emit(Sandbox.ParticleEffect target)
| Parameter | Type | Description |
|---|---|---|
| target | ParticleEffect | — |
Returns:
bool—No results match this filter.
Properties5
Showing 5 properties
public Vector3 Sandbox.ParticleSphereEmitter.DistanceBias { get; set; }
Scales the random spawn direction per axis. (1,1,1) spawns in the full sphere, (0,0,1) restricts spawning to a line along Z, (0,0,0) spawns at the center only.
public bool Sandbox.ParticleSphereEmitter.OnEdge { get; set; }
Returns:
bool—public Sandbox.ParticleSphereEmitter.EmitAxes Sandbox.ParticleSphereEmitter.OneSidedAxes { get; set; }
Axes restricted to one side of the sphere. Restrict Z for a dome, two axes for a quarter sphere. Flip the side with a negative `Sandbox.ParticleSphereEmitter.DistanceBias` on that axis.
public float Sandbox.ParticleSphereEmitter.Radius { get; set; }
Returns:
float—public float Sandbox.ParticleSphereEmitter.Velocity { get; set; }
Returns:
float—No results match this filter.