CreateVertexPoseKeyFrame()

Syntax

Result = CreateVertexPoseKeyFrame(#Mesh, Animation$, Track, Time)
Description
Creates a new keyframe in the vertex animation. The animation should be already be created with CreateVertexAnimation(), or be predefined in the mesh.

Parameters

#Mesh The mesh to use.
Animation$ The animation name. This name is case-sensitive. The animation should be already be created with CreateVertexAnimation().
Track The track index. The track has to be previously created with CreateVertexTrack().
Time The time in the animation to set the keyframe (in milliseconds). This value has to be between zero and the 'Length' defined in CreateVertexAnimation().

Return value

Returns the new keyframe index.

See Also

CreateVertexAnimation(), CreateVertexTrack()

Supported OS

All

<- CreateVertexAnimation() - VertexAnimation Index - CreateVertexTrack() ->