|
libgdx API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Quaternion | |
---|---|
com.badlogic.gdx.graphics.g3d.decals | |
com.badlogic.gdx.graphics.g3d.model.skeleton | |
com.badlogic.gdx.math |
Uses of Quaternion in com.badlogic.gdx.graphics.g3d.decals |
---|
Fields in com.badlogic.gdx.graphics.g3d.decals declared as Quaternion | |
---|---|
protected Quaternion |
Decal.rotation
|
protected static Quaternion |
Decal.rotator
|
Methods in com.badlogic.gdx.graphics.g3d.decals that return Quaternion | |
---|---|
Quaternion |
Decal.getRotation()
Returns the rotation. |
Uses of Quaternion in com.badlogic.gdx.graphics.g3d.model.skeleton |
---|
Fields in com.badlogic.gdx.graphics.g3d.model.skeleton declared as Quaternion | |
---|---|
Quaternion |
SkeletonJoint.rotation
|
Quaternion |
SkeletonKeyframe.rotation
|
Uses of Quaternion in com.badlogic.gdx.math |
---|
Methods in com.badlogic.gdx.math that return Quaternion | |
---|---|
Quaternion |
Quaternion.conjugate()
Conjugate the quaternion. |
Quaternion |
Quaternion.cpy()
|
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]. |
Methods in com.badlogic.gdx.math with parameters of type Quaternion | |
---|---|
float |
Quaternion.dot(Quaternion other)
Dot product between this and the other quaternion. |
void |
Matrix4.getRotation(Quaternion rotation)
|
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 |
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. |
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]. |
Constructors in com.badlogic.gdx.math with parameters of type Quaternion | |
---|---|
Matrix4(Quaternion quaternion)
Constructs a rotation matrix from the given Quaternion . |
|
Quaternion(Quaternion quaternion)
Constructor, sets the quaternion components from the given quaternion. |
|
libgdx API | |||||||||
PREV NEXT | FRAMES NO FRAMES |