public class MatrixJointModelTransform extends java.lang.Object implements JointModelTransform
| Constructor and Description |
|---|
MatrixJointModelTransform() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyBindPose(Transform localTransform,
Matrix4f inverseModelBindMatrix,
Joint parent)
Configure joint's local transform for bind pose.
|
Transform |
getModelTransform()
Determine the joint's transform in model space.
|
Matrix4f |
getModelTransformMatrix()
Access the model transform.
|
void |
getOffsetTransform(Matrix4f outTransform,
Matrix4f inverseModelBindMatrix)
Determine the joint's skinning transform.
|
void |
updateModelTransform(Transform localTransform,
Joint parent)
Update the joint's transform in model space.
|
public void updateModelTransform(Transform localTransform, Joint parent)
JointModelTransformupdateModelTransform in interface JointModelTransformlocalTransform - the joint's local transform (not null, unaffected)parent - the joint's parent, or null for a root jointpublic void getOffsetTransform(Matrix4f outTransform, Matrix4f inverseModelBindMatrix)
JointModelTransformgetOffsetTransform in interface JointModelTransformoutTransform - storage for the result (modified if not null)inverseModelBindMatrix - the joint's inverse model bind matrix (not
null, unaffected)public void applyBindPose(Transform localTransform, Matrix4f inverseModelBindMatrix, Joint parent)
JointModelTransformapplyBindPose in interface JointModelTransformlocalTransform - the joint's local transform (not null, unaffected)inverseModelBindMatrix - the joint's inverse model bind matrix (not
null, unaffected)parent - the joint's parent, or null for a root jointpublic Matrix4f getModelTransformMatrix()
public Transform getModelTransform()
JointModelTransformgetModelTransform in interface JointModelTransform