@Deprecated public class PositionTransition extends java.lang.Object implements Transition<PositionTransition>
| Constructor and Description |
|---|
PositionTransition(long endTime,
Vec3d endPos,
Quatd endRot,
boolean visible)
Deprecated.
|
PositionTransition(long endTime,
com.jme3.math.Vector3f endPos,
com.jme3.math.Quaternion endRot,
boolean visible)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsTime(long time)
Deprecated.
|
static TransitionBuffer<PositionTransition> |
createBuffer(int history)
Deprecated.
|
long |
getEndTime()
Deprecated.
|
com.jme3.math.Vector3f |
getFrameVelocity()
Deprecated.
This is actually not a velocity and doesn't properly cover
the case where an end is null. The caller can easily calculate
this information themselves and decide what to do with a null
end point.
|
com.jme3.math.Vector3f |
getPosition(long time)
Deprecated.
|
com.jme3.math.Vector3f |
getPosition(long time,
boolean clamp)
Deprecated.
|
com.jme3.math.Quaternion |
getRotation(long time)
Deprecated.
|
com.jme3.math.Quaternion |
getRotation(long time,
boolean clamp)
Deprecated.
|
long |
getStartTime()
Deprecated.
|
boolean |
getVisibility(long time)
Deprecated.
|
void |
setPreviousTransition(PositionTransition previous)
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
protected float |
tween(long time)
Deprecated.
|
public PositionTransition(long endTime,
com.jme3.math.Vector3f endPos,
com.jme3.math.Quaternion endRot,
boolean visible)
public static TransitionBuffer<PositionTransition> createBuffer(int history)
public void setPreviousTransition(PositionTransition previous)
setPreviousTransition in interface Transition<PositionTransition>public boolean containsTime(long time)
containsTime in interface Transition<PositionTransition>public long getStartTime()
getStartTime in interface Transition<PositionTransition>public long getEndTime()
getEndTime in interface Transition<PositionTransition>protected final float tween(long time)
@Deprecated public com.jme3.math.Vector3f getFrameVelocity()
public com.jme3.math.Vector3f getPosition(long time)
public com.jme3.math.Vector3f getPosition(long time,
boolean clamp)
public com.jme3.math.Quaternion getRotation(long time)
public com.jme3.math.Quaternion getRotation(long time,
boolean clamp)
public boolean getVisibility(long time)
public java.lang.String toString()
toString in class java.lang.Object