setPositionsAt
fun setPositionsAt(engine: Engine, targetIndex: Int, positions: FloatArray, count: Int, offset: Int = 0)
Updates positions for the given morph target. Requires a buffer built with withPositions(true); the 4th component is 1.0.
Parameters
engine
The Engine instance.
targetIndex
Zero-based index of the morph target to update (< count).
positions
At least count positions, 3 floats per vertex (x, y, z).
count
Number of vertices being updated.
offset
Offset into the target buffer, in vertices.