Package com.jme3.cinematic.events
Class MotionTrack
java.lang.Object
com.jme3.cinematic.events.AbstractCinematicEvent
com.jme3.cinematic.events.MotionEvent
com.jme3.cinematic.events.MotionTrack
- All Implemented Interfaces:
CinematicEvent
,Savable
,Control
,JmeCloneable
,Cloneable
Deprecated.
use MotionEvent instead
-
Nested Class Summary
Nested classes/interfaces inherited from class com.jme3.cinematic.events.MotionEvent
MotionEvent.Direction
-
Field Summary
Fields inherited from class com.jme3.cinematic.events.MotionEvent
currentValue, currentWayPoint, direction, directionType, lookAt, path, rotation, spatial, traveledDistance, upVector
Fields inherited from class com.jme3.cinematic.events.AbstractCinematicEvent
initialDuration, listeners, loopMode, playState, resuming, speed, time
-
Constructor Summary
ConstructorDescriptionDeprecated.Create MotionTrack, when using this constructor don't forget to assign spatial and pathMotionTrack
(Spatial spatial, MotionPath path) Deprecated.Creates a MotionPath for the given spatial on the given motion pathMotionTrack
(Spatial spatial, MotionPath path, float initialDuration) Deprecated.Creates a MotionPath for the given spatial on the given motion pathMotionTrack
(Spatial spatial, MotionPath path, float initialDuration, LoopMode loopMode) Deprecated.Creates a MotionPath for the given spatial on the given motion pathMotionTrack
(Spatial spatial, MotionPath path, LoopMode loopMode) Deprecated.Creates a MotionPath for the given spatial on the given motion path -
Method Summary
Methods inherited from class com.jme3.cinematic.events.MotionEvent
cloneFields, cloneForSpatial, getCurrentValue, getCurrentWayPoint, getDirection, getDirectionType, getPath, getRotation, getSpatial, getTraveledDistance, initEvent, internalUpdate, isEnabled, jmeClone, needsDirection, onPause, onPlay, onStop, onUpdate, read, render, setCurrentValue, setCurrentWayPoint, setDirection, setDirection, setDirectionType, setEnabled, setLookAt, setPath, setRotation, setSpatial, setTime, update, write
Methods inherited from class com.jme3.cinematic.events.AbstractCinematicEvent
addListener, dispose, forceStop, getDuration, getInitialDuration, getLoopMode, getPlayState, getSpeed, getTime, pause, play, removeListener, setInitialDuration, setLoopMode, setSpeed, stop
-
Constructor Details
-
MotionTrack
public MotionTrack()Deprecated.Create MotionTrack, when using this constructor don't forget to assign spatial and path -
MotionTrack
Deprecated.Creates a MotionPath for the given spatial on the given motion path- Parameters:
spatial
- the Spatial to move (not null)path
- the path to be taken (alias created)
-
MotionTrack
Deprecated.Creates a MotionPath for the given spatial on the given motion path- Parameters:
spatial
- the Spatial to move (not null)path
- the path to be taken (alias created)initialDuration
- the desired duration (in seconds, default=10)
-
MotionTrack
Deprecated.Creates a MotionPath for the given spatial on the given motion path- Parameters:
spatial
- the Spatial to move (not null)path
- the path to be taken (alias created)loopMode
- (default=DontLoop)
-
MotionTrack
Deprecated.Creates a MotionPath for the given spatial on the given motion path- Parameters:
spatial
- the Spatial to move (not null)path
- the path to be taken (alias created)initialDuration
- the desired duration (in seconds, default=10)loopMode
- (default=DontLoop)
-