Serializable, Comparable<ParticleSystem.Orientation>public static enum ParticleSystem.Orientation extends Enum<ParticleSystem.Orientation>
| Enum Constant | Description |
|---|---|
FACING_CAMERA |
The particles always face the camera.
|
ORIENTED_COMMON |
The particles are oriented around a shared direction vector (used as Y axis) and only rotate around this to face the camera.
|
ORIENTED_SELF |
The particles have their own orientation.
|
PERPENDICULAR_COMMON |
Particles are perpendicular to a common, typically fixed direction vector, which acts as their local Z axis, and their local Y axis coplanar with common direction and the common up vector.
|
PERPENDICULAR_SELF |
Particles are perpendicular to their own direction vector, which acts as their local Z axis, and their local Y axis coplanar with their own direction vector and the common up vector.
|
| Modifier and Type | Method | Description |
|---|---|---|
static ParticleSystem.Orientation |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ParticleSystem.Orientation[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParticleSystem.Orientation FACING_CAMERA
public static final ParticleSystem.Orientation ORIENTED_COMMON
public static final ParticleSystem.Orientation ORIENTED_SELF
public static final ParticleSystem.Orientation PERPENDICULAR_COMMON
public static final ParticleSystem.Orientation PERPENDICULAR_SELF
public static ParticleSystem.Orientation[] values()
for (ParticleSystem.Orientation c : ParticleSystem.Orientation.values()) System.out.println(c);
public static ParticleSystem.Orientation valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2014–2018. All rights reserved.