setBonesAsMatrices

open fun setBonesAsMatrices(matrices: Buffer, @IntRange(from = 0, to = 255) boneCount: Int, @IntRange(from = 0) offset: Int)

Sets the transforms associated with each bone of a Renderable.

Parameters

matrices

A FloatBuffer containing boneCount 4x4 packed matrices (i.e. 16 floats each matrix and no gap between matrices)

boneCount

Number of bones to set

offset

Index of the first bone to set

See also

RenderableManager.setBonesAsMatrices