setSkinningBuffer

fun setSkinningBuffer(instance: EntityInstance, skinningBuffer: SkinningBuffer, count: Int, offset: Int)

Associates a region of a SkinningBuffer to a renderable instance.

Note: due to hardware limitations offset + 256 must be smaller or equal to skinningBuffer.getBoneCount()

Parameters

skinningBuffer

skinning buffer to associate to the instance

count

Size of the region in bones, must be smaller or equal to 256.

offset

Start offset of the region in bones