Back to Filament

build

docs/android/dokka/filament-android/com.google.android.filament/-skinning-buffer/-builder/build.md

1.75.01.0 KB
Original Source

//filament-android/com.google.android.filament/SkinningBuffer/Builder/build

build

[main]
open fun build(engine: Engine): SkinningBuffer

Creates and returns the SkinningBuffer object.

Return

the newly created SkinningBuffer object

Parameters

main

enginereference to the Engine to associate this SkinningBufferwith.

See also

setBonesAsMatrices
setBonesAsQuaternions

Throws

IllegalStateExceptionif the SkinningBuffer could not be created
RuntimeExceptionif a runtime error occurred, such as running out of memory or other resources.