Modifier and Type | Method and Description |
---|---|
Matrix4 |
Matrix4.clone() |
Matrix4 |
Matrix4.concatenate(Matrix4 m2)
Concatenates the two matrices
|
Matrix4 |
Bone.getBoneTransform()
Gets the transform matrix of the bone.
|
static Matrix4 |
Matrix4.getIdentity()
Gets the identity matrix.
|
Matrix4 |
TransformBuilder.getMatrix()
Gets the current matrix value
|
Matrix4 |
BonePose.getMatrix()
Gets the transform matrix of the node in current pose.
|
Matrix4 |
Bone.getTransform()
Gets the transform matrix of the node containing the bone.
|
Matrix4 |
Transform.getTransformMatrix()
Gets the transform matrix.
|
Matrix4 |
GlobalTransform.getTransformMatrix()
Gets the transform matrix.
|
Matrix4 |
Matrix4.inverse()
Inverses this instance.
|
static Matrix4 |
Matrix4.mul(Matrix4 lhs,
double v)
Multiply the matrix and double value
|
static Matrix4 |
Matrix4.mul(Matrix4 lhs,
Matrix4 rhs)
Multiply the two matrices
|
Matrix4 |
Matrix4.normalize()
Normalizes this instance.
|
static Matrix4 |
Matrix4.rotate(double angle,
Vector3 axis)
Create a rotation matrix by rotation angle and axis
|
static Matrix4 |
Matrix4.rotate(Quaternion q)
Create a rotation matrix from a quaternion
|
static Matrix4 |
Matrix4.rotateFromEuler(double rx,
double ry,
double rz)
Create a rotation matrix from euler angle
|
static Matrix4 |
Matrix4.rotateFromEuler(Vector3 eul)
Create a rotation matrix from euler angle
|
static Matrix4 |
Matrix4.scale(double s)
Creates a matrix that scales along the x-axis, the y-axis and the z-axis.
|
static Matrix4 |
Matrix4.scale(double sx,
double sy,
double sz)
Creates a matrix that scales along the x-axis, the y-axis and the z-axis.
|
static Matrix4 |
Matrix4.scale(Vector3 s)
Creates a matrix that scales along the x-axis, the y-axis and the z-axis.
|
Matrix4 |
Quaternion.toMatrix()
Convert the rotation presented by quaternion to transform matrix.
|
static Matrix4 |
Matrix4.translate(double tx,
double ty,
double tz)
Creates a matrix that translates along the x-axis, the y-axis and the z-axis
|
static Matrix4 |
Matrix4.translate(Vector3 t)
Creates a matrix that translates along the x-axis, the y-axis and the z-axis
|
Matrix4 |
Matrix4.transpose()
Transposes this instance.
|
Modifier and Type | Method and Description |
---|---|
void |
Pose.addBonePose(Node node,
Matrix4 matrix)
Saves pose transformation matrix for the given bone node.
|
void |
Pose.addBonePose(Node node,
Matrix4 matrix,
boolean localMatrix)
Saves pose transformation matrix for the given bone node.
|
TransformBuilder |
TransformBuilder.append(Matrix4 m)
Append the new transform matrix to the transform chain.
|
void |
TransformBuilder.compose(Matrix4 m)
Append or prepend the argument to internal matrix.
|
Matrix4 |
Matrix4.concatenate(Matrix4 m2)
Concatenates the two matrices
|
void |
Matrix4.copyFrom(Matrix4 src) |
static BoundingBox |
BoundingBox.mul(BoundingBox bbox,
Matrix4 mat)
Operator overloading for multiply
|
static Matrix4 |
Matrix4.mul(Matrix4 lhs,
double v)
Multiply the matrix and double value
|
static Matrix4 |
Matrix4.mul(Matrix4 lhs,
Matrix4 rhs)
Multiply the two matrices
|
static Vector3 |
Matrix4.mul(Matrix4 lhs,
Vector3 v)
Multiply the matrix and vector3
|
static Vector4 |
Matrix4.mul(Matrix4 lhs,
Vector4 v)
Multiply the matrix and vector4
|
TransformBuilder |
TransformBuilder.prepend(Matrix4 m)
Prepend the new transform matrix to the transform chain.
|
void |
Bone.setBoneTransform(Matrix4 value)
Sets the transform matrix of the bone.
|
void |
TransformBuilder.setMatrix(Matrix4 value)
Sets the current matrix value
|
void |
BonePose.setMatrix(Matrix4 value)
Sets the transform matrix of the node in current pose.
|
void |
Bone.setTransform(Matrix4 value)
Sets the transform matrix of the node containing the bone.
|
void |
Transform.setTransformMatrix(Matrix4 value)
Sets the transform matrix.
|
Constructor and Description |
---|
TransformBuilder(Matrix4 initial,
ComposeOrder order)
Construct a
TransformBuilder with initial transform matrix and specified compose order |
Copyright © 2019. All rights reserved.