Interface DonutEmitterParameters

Interface representing the parameters for a donut emitter.

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

Properties

arc?: number

The arc of the donut.

donutRadius?: number

The radius of the hole in the center of the donut.

The mode of the emitter. EmitterMode

radius?: number

The radius of the donut.

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 ring. 1 is a full donut, 0 is a ring with 0 radius.