Enum PrimitiveSpawnShapeValue.SpawnSide
- java.lang.Object
-
- java.lang.Enum<PrimitiveSpawnShapeValue.SpawnSide>
-
- com.badlogic.gdx.graphics.g3d.particles.values.PrimitiveSpawnShapeValue.SpawnSide
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PrimitiveSpawnShapeValue.SpawnSide>
- Enclosing class:
- PrimitiveSpawnShapeValue
public static enum PrimitiveSpawnShapeValue.SpawnSide extends java.lang.Enum<PrimitiveSpawnShapeValue.SpawnSide>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PrimitiveSpawnShapeValue.SpawnSidevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static PrimitiveSpawnShapeValue.SpawnSide[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
both
public static final PrimitiveSpawnShapeValue.SpawnSide both
-
top
public static final PrimitiveSpawnShapeValue.SpawnSide top
-
bottom
public static final PrimitiveSpawnShapeValue.SpawnSide bottom
-
-
Method Detail
-
values
public static PrimitiveSpawnShapeValue.SpawnSide[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PrimitiveSpawnShapeValue.SpawnSide c : PrimitiveSpawnShapeValue.SpawnSide.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PrimitiveSpawnShapeValue.SpawnSide valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-