Interface ConeEmitterParameters

Interface representing the parameters for a cone emitter.

interface ConeEmitterParameters {
    angle?: number;
    arc?: number;
    mode?: EmitterMode;
    radius?: number;
    speed?: ValueGenerator | FunctionValueGenerator;
    spread?: number;
    thickness?: number;
}

Properties

angle?: number

The angle of the cone, ranging from 0 to Math.PI / 2.

arc?: number

The arc of the cone.

The mode of the emitter. EmitterMode

radius?: number

The radius of the cone base.

The speed of the emitter start point when mode is EmitterMode.Loop or EmitterMode.PingPong. EmitterMode

spread?: number

The length of the segment at which the emitter point converges at the start and end, when mode is EmitterMode.Loop or EmitterMode.PingPong. EmitterMode

thickness?: number

The thickness of the cone. 1 is a full cone, 0 is a cone with 0 thickness.