Serializable, Comparable<ParticleSystem.Origin>public static enum ParticleSystem.Origin extends Enum<ParticleSystem.Origin>
| Enum Constant | Description |
|---|---|
BOTTOM_CENTER |
The billboard origin is the center of bottom edge.
|
BOTTOM_LEFT |
The billboard origin is the bottom-left corner.
|
BOTTOM_RIGHT |
The billboard origin is the bottom-right corner.
|
CENTER |
The billboard origin is the center.
|
CENTER_LEFT |
The billboard origin is the center of left edge.
|
CENTER_RIGHT |
The billboard origin is the center of right edge.
|
TOP_CENTER |
The billboard origin is the center of top edge.
|
TOP_LEFT |
The billboard origin is the top-left corner.
|
TOP_RIGHT |
The billboard origin is the top-right corner.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
getValue() |
|
static ParticleSystem.Origin |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ParticleSystem.Origin[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParticleSystem.Origin BOTTOM_CENTER
public static final ParticleSystem.Origin BOTTOM_LEFT
public static final ParticleSystem.Origin BOTTOM_RIGHT
public static final ParticleSystem.Origin CENTER
public static final ParticleSystem.Origin CENTER_LEFT
public static final ParticleSystem.Origin CENTER_RIGHT
public static final ParticleSystem.Origin TOP_CENTER
public static final ParticleSystem.Origin TOP_LEFT
public static final ParticleSystem.Origin TOP_RIGHT
public static ParticleSystem.Origin[] values()
for (ParticleSystem.Origin c : ParticleSystem.Origin.values()) System.out.println(c);
public static ParticleSystem.Origin 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 nullpublic int getValue()
Copyright © 2014–2018. All rights reserved.