Back to Filament

setPositionsAt

docs/android/dokka/filament-android/com.google.android.filament/-morph-target-buffer/set-positions-at.md

1.75.0991 B
Original Source

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

setPositionsAt

[main]
open fun setPositionsAt(engine: Engine, targetIndex: Int, positions: Array<Float>, count: Int)

Updates float4 positions for the given morph target.

Parameters

main

engineEngine instance
targetIndexThe index of morph target to be updated
positionsAn array with at least count*4 floats
countNumber of float4 vectors in positions to be consumed