public class CameraTweens
extends java.lang.Object
Constructor and Description |
---|
CameraTweens() |
Modifier and Type | Method and Description |
---|---|
static Tween |
move(com.jme3.renderer.Camera target,
com.jme3.math.Vector3f from,
com.jme3.math.Vector3f to)
Creates a tween that will interpolate the location of the specified camera
from one location to another.
|
static Tween |
move(com.jme3.renderer.Camera target,
com.jme3.math.Vector3f from,
com.jme3.math.Vector3f to,
double length)
Creates a tween that will interpolate the location of the specified target
from one location to another.
|
static Tween |
rotate(com.jme3.renderer.Camera target,
com.jme3.math.Quaternion from,
com.jme3.math.Quaternion to,
double length)
Creates a tween that will interpolate the rotation of the specified target
from one rotation to another.
|
public static Tween move(com.jme3.renderer.Camera target, com.jme3.math.Vector3f from, com.jme3.math.Vector3f to)
public static Tween move(com.jme3.renderer.Camera target, com.jme3.math.Vector3f from, com.jme3.math.Vector3f to, double length)
public static Tween rotate(com.jme3.renderer.Camera target, com.jme3.math.Quaternion from, com.jme3.math.Quaternion to, double length)