API

Class MeshParticleEmitter

Particle emitter emitting particles from the inside of a box. It emits the particles randomly between 2 given directions.

Implements

Index
direction1: Vector3 = ...

Random direction of each particle after it has been emitted, between direction1 and direction2 vectors.

direction2: Vector3 = ...

Random direction of each particle after it has been emitted, between direction1 and direction2 vectors.

useMeshNormalsForDirection: boolean = true

Gets or sets a boolean indicating that particle directions must be built from mesh face normals