Particles zIndex

key option type example notes
value number / object 0...100 / { min: 0, max: 100 } Defaults to 0.
opacityRate number 2 The rate with which the z-index alters the particle's opacity.
velocityRate number -10 The rate with which the z-index alters the particle's velocity.
sizeRate number 5 The rate with which the z-index alters the particle's size.
interface IZIndex {
    opacityRate: number;
    sizeRate: number;
    value: RangeValue;
    velocityRate: number;
}

Hierarchy

Implemented by

Properties

opacityRate: number

The particles z-index factor for opacity

sizeRate: number

The particles z-index factor for size

value: RangeValue

Value of property.

velocityRate: number

The particles z-index factor for velocity