@Deprecated public class MotionTrack extends MotionEvent
MotionEvent.Direction
currentValue, currentWayPoint, direction, directionType, lookAt, path, rotation, spatial, traveledDistance, upVector
initialDuration, listeners, loopMode, playState, resuming, speed, time
Constructor and Description |
---|
MotionTrack()
Deprecated.
Create MotionTrack,
when using this constructor don't forget to assign spatial and path
|
MotionTrack(Spatial spatial,
MotionPath path)
Deprecated.
Creates a MotionPath for the given spatial on the given motion path
|
MotionTrack(Spatial spatial,
MotionPath path,
float initialDuration)
Deprecated.
Creates a MotionPath for the given spatial on the given motion path
|
MotionTrack(Spatial spatial,
MotionPath path,
float initialDuration,
LoopMode loopMode)
Deprecated.
Creates a MotionPath for the given spatial on the given motion path
|
MotionTrack(Spatial spatial,
MotionPath path,
LoopMode loopMode)
Deprecated.
Creates a MotionPath for the given spatial on the given motion path
|
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
addListener, dispose, forceStop, getDuration, getInitialDuration, getLoopMode, getPlayState, getSpeed, getTime, pause, play, removeListener, setInitialDuration, setLoopMode, setSpeed, stop
public MotionTrack()
public MotionTrack(Spatial spatial, MotionPath path)
spatial
- the Spatial to move (not null)path
- the path to be taken (alias created)public MotionTrack(Spatial spatial, MotionPath path, float initialDuration)
spatial
- the Spatial to move (not null)path
- the path to be taken (alias created)initialDuration
- the desired duration (in seconds, default=10)public MotionTrack(Spatial spatial, MotionPath path, LoopMode loopMode)
spatial
- the Spatial to move (not null)path
- the path to be taken (alias created)loopMode
- (default=DontLoop)public MotionTrack(Spatial spatial, MotionPath path, float initialDuration, LoopMode loopMode)
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)