EmitterInput
props unique to a source emitter (launched particles with a lifetime)
Interface: EmitterInput
Defined in: packages/motion/src/particles/constructors.ts:54
props unique to a source emitter (launched particles with a lifetime)
Extends
CommonInput
Properties
angle
readonly angle: Range;Defined in: packages/motion/src/particles/constructors.ts:58
launch angle range (degrees; 0 = up, counterclockwise-positive)
capacity?
readonly optional capacity?: number;Defined in: packages/motion/src/particles/constructors.ts:50
fixed particle capacity
Inherited from
CommonInput.capacitygravity?
readonly optional gravity?: number;Defined in: packages/motion/src/particles/constructors.ts:46
shared screen-downward (-y) acceleration (px/sec²)
Inherited from
CommonInput.gravitylife
readonly life: Range;Defined in: packages/motion/src/particles/constructors.ts:60
lifetime range (seconds)
opacityOverLife?
readonly optional opacityOverLife?: OverLifeInput;Defined in: packages/motion/src/particles/constructors.ts:48
Inherited from
CommonInput.opacityOverLifeopacityRange?
readonly optional opacityRange?: Range;Defined in: packages/motion/src/particles/constructors.ts:42
per-particle birth opacity range (0..1); over-life curve multiplies it
Inherited from
CommonInput.opacityRangepalette?
readonly optional palette?: readonly Color[];Defined in: packages/motion/src/particles/constructors.ts:44
colors drawn from uniformly at birth
Inherited from
CommonInput.palettesize?
readonly optional size?: Range;Defined in: packages/motion/src/particles/constructors.ts:40
birth size range (px radius)
Inherited from
CommonInput.sizesizeOverLife?
readonly optional sizeOverLife?: OverLifeInput;Defined in: packages/motion/src/particles/constructors.ts:47
Inherited from
CommonInput.sizeOverLifespeed
readonly speed: Range;Defined in: packages/motion/src/particles/constructors.ts:56
launch speed range (px/sec)
x?
readonly optional x?: number;Defined in: packages/motion/src/particles/constructors.ts:37
Inherited from
CommonInput.xy?
readonly optional y?: number;Defined in: packages/motion/src/particles/constructors.ts:38
Inherited from
CommonInput.y