Back to Filament

Builder

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

1.75.01.9 KB
Original Source

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

Builder

[main]
open class Builder

Constructors

Builder[main]
constructor()

Functions

NameSummary
build[main]
open fun build(engine: Engine): MorphTargetBuffer
Creates and returns the MorphTargetBuffer object.
count[main]
open fun count(count: Int): MorphTargetBuffer.Builder
Size of the morph targets in targets.
enableCustomMorphing[main]
open fun enableCustomMorphing(enabled: Boolean): MorphTargetBuffer.Builder
Use this method to enable or disable custom morphing.
vertexCount[main]
open fun vertexCount(vertexCount: Int): MorphTargetBuffer.Builder
Size of the morph targets in vertex counts.
withPositions[main]
open fun withPositions(enabled: Boolean): MorphTargetBuffer.Builder
Use this method to enable or disable the built-in position morphing buffer.
withTangents[main]
open fun withTangents(enabled: Boolean): MorphTargetBuffer.Builder
Use this method to enable or disable the built-in tangent morphing buffer.