com.jme3.scene.plugins.blender.constraints
Enum Constraint.Space
java.lang.Object
java.lang.Enum<Constraint.Space>
com.jme3.scene.plugins.blender.constraints.Constraint.Space
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Constraint.Space>
- Enclosing class:
- Constraint
public static enum Constraint.Space
- extends java.lang.Enum<Constraint.Space>
The space of target or owner transformation.
Method Summary |
static Constraint.Space |
valueOf(byte c)
This method returns the enum instance when given the appropriate
value from the blend file. |
static Constraint.Space |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Constraint.Space[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
CONSTRAINT_SPACE_WORLD
public static final Constraint.Space CONSTRAINT_SPACE_WORLD
CONSTRAINT_SPACE_LOCAL
public static final Constraint.Space CONSTRAINT_SPACE_LOCAL
CONSTRAINT_SPACE_POSE
public static final Constraint.Space CONSTRAINT_SPACE_POSE
CONSTRAINT_SPACE_PARLOCAL
public static final Constraint.Space CONSTRAINT_SPACE_PARLOCAL
CONSTRAINT_SPACE_INVALID
public static final Constraint.Space CONSTRAINT_SPACE_INVALID
values
public static Constraint.Space[] 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 (Constraint.Space c : Constraint.Space.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Constraint.Space 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 name
java.lang.NullPointerException
- if the argument is null
valueOf
public static Constraint.Space valueOf(byte c)
- This method returns the enum instance when given the appropriate
value from the blend file.
- Parameters:
c
- the blender's value of the space modifier
- Returns:
- the scape enum instance