Modifier and Type | Method and Description |
---|---|
void |
Camera.rotate(Quaternion quat)
Rotates the direction and up vector of this camera by the given
Quaternion . |
Modifier and Type | Field and Description |
---|---|
protected Quaternion |
Decal.rotation |
protected static Quaternion |
Decal.rotator |
Modifier and Type | Method and Description |
---|---|
Quaternion |
Decal.getRotation()
Returns the rotation.
|
Modifier and Type | Field and Description |
---|---|
Quaternion |
Node.rotation
the rotation, relative to the parent, not modified by animations
|
Quaternion |
NodeKeyframe.rotation
the rotation, given in local space, relative to the parent
|
Modifier and Type | Field and Description |
---|---|
Quaternion |
ModelNode.rotation |
Quaternion |
ModelNodeKeyframe.rotation
the rotation, in local space relative to the parent
|
Modifier and Type | Field and Description |
---|---|
Quaternion |
BaseAnimationController.Transform.rotation |
Modifier and Type | Method and Description |
---|---|
BaseAnimationController.Transform |
BaseAnimationController.Transform.lerp(Vector3 targetT,
Quaternion targetR,
Vector3 targetS,
float alpha) |
BaseAnimationController.Transform |
BaseAnimationController.Transform.set(Vector3 t,
Quaternion r,
Vector3 s) |
Modifier and Type | Method and Description |
---|---|
Quaternion |
Quaternion.conjugate()
Conjugate the quaternion.
|
Quaternion |
Quaternion.cpy() |
Quaternion |
Matrix4.getRotation(Quaternion rotation) |
Quaternion |
Quaternion.idt()
Sets the quaternion to an identity Quaternion
|
Quaternion |
Quaternion.mul(float scalar)
Multiplies the components of this quaternion with the given scalar.
|
Quaternion |
Quaternion.mul(Quaternion q)
Multiplies this quaternion with another one
|
Quaternion |
Quaternion.mulLeft(Quaternion q)
Multiplies this quaternion with another one in the form of q * this
|
Quaternion |
Quaternion.nor()
Normalizes this quaternion to unit length
|
Quaternion |
Quaternion.set(float x,
float y,
float z,
float w)
Sets the components of the quaternion
|
Quaternion |
Quaternion.set(Quaternion quaternion)
Sets the quaternion components from the given quaternion.
|
Quaternion |
Quaternion.set(Vector3 axis,
float angle)
Sets the quaternion components from the given axis and angle around that axis.
|
Quaternion |
Quaternion.setEulerAngles(float yaw,
float pitch,
float roll)
Sets the quaternion to the given euler angles.
|
Quaternion |
Quaternion.setFromAxes(float xx,
float xy,
float xz,
float yx,
float yy,
float yz,
float zx,
float zy,
float zz)
Sets the Quaternion from the given x-, y- and z-axis which have to be orthonormal.
|
Quaternion |
Quaternion.setFromAxis(float x,
float y,
float z,
float angle)
Sets the quaternion components from the given axis and angle around that axis.
|
Quaternion |
Quaternion.setFromAxis(Vector3 axis,
float angle)
Sets the quaternion components from the given axis and angle around that axis.
|
Quaternion |
Quaternion.setFromCross(float x1,
float y1,
float z1,
float x2,
float y2,
float z2)
Set this quaternion to the rotation between two vectors.
|
Quaternion |
Quaternion.setFromCross(Vector3 v1,
Vector3 v2)
Set this quaternion to the rotation between two vectors.
|
Quaternion |
Quaternion.setFromMatrix(Matrix4 matrix) |
Quaternion |
Quaternion.slerp(Quaternion end,
float alpha)
Spherical linear interpolation between this quaternion and the other quaternion, based on the alpha value in the range
[0,1].
|
Modifier and Type | Method and Description |
---|---|
float |
Quaternion.dot(Quaternion other)
Dot product between this and the other quaternion.
|
Quaternion |
Matrix4.getRotation(Quaternion rotation) |
Quaternion |
Quaternion.mul(Quaternion q)
Multiplies this quaternion with another one
|
Vector3 |
Vector3.mul(Quaternion quat)
Multiplies the vector by the given
Quaternion . |
Quaternion |
Quaternion.mulLeft(Quaternion q)
Multiplies this quaternion with another one in the form of q * this
|
Matrix4 |
Matrix4.rotate(Quaternion rotation)
Postmultiplies this matrix with a (counter-clockwise) rotation matrix.
|
Matrix4 |
Matrix4.set(Quaternion quaternion)
Sets the matrix to a rotation matrix representing the quaternion.
|
Quaternion |
Quaternion.set(Quaternion quaternion)
Sets the quaternion components from the given quaternion.
|
Matrix4 |
Matrix4.set(Vector3 position,
Quaternion orientation,
Vector3 scale)
Set this matrix to the specified translation, rotation and scale.
|
Quaternion |
Quaternion.slerp(Quaternion end,
float alpha)
Spherical linear interpolation between this quaternion and the other quaternion, based on the alpha value in the range
[0,1].
|
Constructor and Description |
---|
Matrix4(Quaternion quaternion)
Constructs a rotation matrix from the given
Quaternion . |
Matrix4(Vector3 position,
Quaternion rotation,
Vector3 scale)
Construct a matrix from the given translation, rotation and scale.
|
Quaternion(Quaternion quaternion)
Constructor, sets the quaternion components from the given quaternion.
|