getTransform

fun getTransform(vertexIndex: Int, boneIndex: Int): Matrix4?

Gets the transformation matrix for a specific vertex and bone index.

Return

The bone transformation matrix, or null if the bone index is invalid.

Parameters

vertexIndex

The index of the vertex.

boneIndex

The index of the bone.


fun getTransform(vertex: Mesh.Vertex, boneIndex: Int): Matrix4?

Gets the transformation matrix for a specific vertex and bone index.

Return

The bone transformation matrix, or null if the bone index is invalid.

Parameters

vertex

The vertex.

boneIndex

The index of the bone.