|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MotionTrack.Direction>
com.jme3.cinematic.events.MotionTrack.Direction
public static enum MotionTrack.Direction
Enum for the different type of target direction behavior
Enum Constant Summary | |
---|---|
LookAt
The target looks at a point You need to use the setLookAt method when using this direction |
|
None
the target stay in the starting direction |
|
Path
The target rotates with the direction of the path |
|
PathAndRotation
The target rotates with the direction of the path but with the additon of a rtotation you need to use the setRotation mathod when using this Direction |
|
Rotation
The target rotates with the given rotation |
Method Summary | |
---|---|
static MotionTrack.Direction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MotionTrack.Direction[] |
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 |
Enum Constant Detail |
---|
public static final MotionTrack.Direction None
public static final MotionTrack.Direction Path
public static final MotionTrack.Direction PathAndRotation
public static final MotionTrack.Direction Rotation
public static final MotionTrack.Direction LookAt
Method Detail |
---|
public static MotionTrack.Direction[] values()
for (MotionTrack.Direction c : MotionTrack.Direction.values()) System.out.println(c);
public static MotionTrack.Direction 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 name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |