setBonesAsQuaternions

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

Sets the transforms associated with each bone of a Renderable

Parameters

quaternions

A FloatBuffer containing boneCount transforms. Each transform consists of 8 float. float 0 to 3 encode a unit quaternion w+ix+jy+kz stored as x,y,z,w. float 4 to 7 encode a translation stored as x,y,z,1

boneCount

Number of bones to set

offset

Index of the first bone to set

See also

RenderableManager.setBonesAsQuaternions