setMorphTargetBufferOffsetAt

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

Associates a MorphTargetBuffer to the given primitive.

Parameters

instance

Instance of the component obtained from getInstance()

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)

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

Associates a MorphTargetBuffer to the given primitive.

Parameters

instance

Instance of the component obtained from getInstance()

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)

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

Associates a MorphTargetBuffer to the given primitive.

Parameters

instance

Instance of the component obtained from getInstance()

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)

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

Associates a MorphTargetBuffer to the given primitive.

Parameters

instance

Instance of the component obtained from getInstance()

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)

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

Associates a MorphTargetBuffer to the given primitive.

Parameters

instance

Instance of the component obtained from getInstance()

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)