public enum BoundingShape extends java.lang.Enum<BoundingShape>
Enum Constant and Description |
---|
BOX
A box bounding shape.
|
CAPSULE
A capsule bounding shape.
|
SPHERE
A sphere bounding shape.
|
Modifier and Type | Method and Description |
---|---|
static BoundingShape |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BoundingShape[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoundingShape BOX
public static final BoundingShape SPHERE
public static final BoundingShape CAPSULE
public static BoundingShape[] values()
for (BoundingShape c : BoundingShape.values()) System.out.println(c);
public static BoundingShape valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null