setMorphTargetBufferOffsetAt

fun setMorphTargetBufferOffsetAt(instance: EntityInstance, level: Int, primitiveIndex: Int, offset: Int)

Associates a MorphTargetBuffer offset to the given primitive.

Parameters

level

the level of detail (lod), only 0 can be specified

primitiveIndex

the primitive of interest

offset

specifies where in the morph target buffer to start reading (expressed as a number of vertices)