Simulation space for particle data.
More...
#include <ParticleSystem.h>
|
| enum | Enum : StorageType {
World = 0U
, Local
, View
, ENUM_COUNT
,
Default = World
} |
|
using | StorageType = xiiUInt8 |
Simulation space for particle data.
◆ Enum
| Enumerator |
|---|
| World | Particle positions and velocities are in world space, and the system's local transform is ignored for simulation. This is the most common choice for general-purpose particle systems.
|
| Local | Particle positions and velocities are in the local space of the system's transform, which is used as the simulation origin. This allows for easy movement and rotation of the entire system by modifying its transform, but may require special handling for emitter shapes and rendering to ensure correct orientation and scaling.
|
| View | Particle positions and velocities are in view space, which is defined by the camera's position and orientation. This can be useful for certain screen-space effects or when you want particles to always face the camera, but may require special handling for emitter shapes and rendering to ensure correct orientation and scaling.
|
The documentation for this struct was generated from the following file: