ParticleEmitter

Variables

Name

Type

Description

number

uint32_t

The number of particles per emission.

durationRange

std::array<float, 2>

The range of duration per particle, in seconds.

positionRange

std::array<Math::vec3, 2>

The range of position per particle.

baseDirection

Math::vec3

The base direction.

directionAnglesRange

std::array<Math::vec3, 2>

The range of direction, from the base direction, per particle. Per axis, in radians.

speedRange

std::array<float, 2>

The range of speed, per particle.

image

Image*

The texture of the particles.

colorRange

std::array<Math::vec4, 2>

The range of color per particle. If image is not null, the color is multiplied to the image.

sizeRange

std::array<float, 2>

The range of size, per particle.

rotationRange

std::array<float, 2>

The range of rotation, per particle. In radians.