Back to Filament

build

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

1.75.0972 B
Original Source

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

build

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

Creates and returns the MorphTargetBuffer object.

Return

the newly created MorphTargetBuffer object

Parameters

main

enginereference to the Engine to associate this MorphTargetBufferwith.

See also

setMorphTargetBufferOffsetAt

Throws

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