Module: particles/options
#
Interfaces#
Type aliases#
ApplyFunctionƬ ApplyFunction<T
>: (property
: T
, element
: HTMLElement
) => void
#
Type parametersName |
---|
T |
#
Type declarationâ–¸ (property
, element
): void
Represents a delegate used by the renderer to apply a certain property to the particle's HTMLElement. Note that this property is generic and does not have to contain the particle itself.
#
ParametersName | Type |
---|---|
property | T |
element | HTMLElement |
#
Returnsvoid
#
Defined inparticles/options/renderOptions.ts:10
#
ParticleDespawnRuleƬ ParticleDespawnRule: (particle
: Particle
) => boolean
#
Type declarationâ–¸ (particle
): boolean
Represents a rule that decides whether a particle should be despawned or not.
#
ParametersName | Type |
---|---|
particle | Particle |
#
Returnsboolean
#
Defined inparticles/options/emitterOptions.ts:8
#
Functions#
getDefaultEmissionOptionsâ–¸ getDefaultEmissionOptions(): EmissionOptions
Returns the default set of emission options.
#
Returns#
Defined inparticles/options/emissionOptions.ts:89
#
getDefaultEmitterOptionsâ–¸ getDefaultEmitterOptions(): EmitterOptions
Returns the default set of emitter options.
#
Returns#
Defined inparticles/options/emitterOptions.ts:58
#
getDefaultRendererOptionsâ–¸ getDefaultRendererOptions(): RenderOptions
Returns the default set of renderer options.