Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Assembly: Visual3D.Engine (in Visual3D.Engine.dll) Version: 1.0.0.0 (1.0.0.0)
Describe possible type of calculation of particle orientation,
depending on relative position to viewer.
Namespace: Visual3D.Graphics3D.ParticlesAssembly: Visual3D.Engine (in Visual3D.Engine.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# | Visual Basic |
public enum ParticleOrientationType
Public Enumeration ParticleOrientationType
Members
| Member | Value | Description |
|---|---|---|
| Facing | 0 | Particle acts as spheric sprite - it is always facing to viewer.
Good for simple particles, like smoke. Faster than cylindric, but
slower than self oriented orientation type. |
| Vertical | 1 | Particle acts as cylindric sprite - Y axis is fixed, X and Z are
matching to the position of viewer. Good for particles whose orientation
is changing during lifecycle - e.g. fountain sparkles etc. Slower than
spheric and self-oriented orientation types. |
| Self | 2 | Orientation of the particle does not depend on viewer position
or orientation. Use this orientation type for geometry-based particles.
In terms of perfomance, this is the fastest orientation type. |