ParticleSphereEmitterclass

Emits particles within a sphere shape.

objectParticleEmitterParticleSphereEmitter
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.ParticleSphereEmitter : Sandbox.ParticleEmitter

Constructors1

Showing 1 constructors

Methods1

Showing 1 methods

Properties5

Showing 5 properties

public Vector3 Sandbox.ParticleSphereEmitter.DistanceBias { get; set; }PUBLICGETSET

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.

Returns:Vector3

public Sandbox.ParticleSphereEmitter.EmitAxes Sandbox.ParticleSphereEmitter.OneSidedAxes { get; set; }PUBLICGETSET

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.

Returns:EmitAxes

On this page