public interface JointModelTransform
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.
|
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.
|
void updateModelTransform(Transform localTransform, Joint parent)
localTransform
- the joint's local transform (not null, unaffected)parent
- the joint's parent, or null for a root jointvoid getOffsetTransform(Matrix4f outTransform, Matrix4f inverseModelBindMatrix)
outTransform
- storage for the result (modified if not null)inverseModelBindMatrix
- the joint's inverse model bind matrix (not
null, unaffected)void applyBindPose(Transform localTransform, Matrix4f inverseModelBindMatrix, Joint parent)
localTransform
- 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 jointTransform getModelTransform()