Back to Filament

setBonesAsMatrices

docs/android/dokka/filament-android/com.google.android.filament/-renderable-manager/set-bones-as-matrices.md

1.75.0976 B
Original Source

//filament-android/com.google.android.filament/RenderableManager/setBonesAsMatrices

setBonesAsMatrices

[main]
open fun setBonesAsMatrices(i: Int, matrices: Buffer, boneCount: Int, offset: Int)

Sets the transforms associated with each bone of a Renderable.

Parameters

main

iInstance of the Renderable
matricesA FloatBuffer containing boneCount 4x4 packed matrices (i.e. 16 floats each matrix and no gap between matrices)
boneCountNumber of bones to set
offsetIndex of the first bone to set