CreateVertexTrack()

Syntax

Result = CreateVertexTrack(#Mesh, Animation$, Index)
Description
Creates a new vertex animation track on the specified mesh. The animation should already be created with CreateVertexAnimation(), or be predefined in the mesh. Every track has the same length, as defined in CreateVertexAnimation().

Parameters

#Mesh The mesh to use to create the new animation track.
Animation$ The animation name. This name is case-sensitive. The animation should already be created with CreateVertexAnimation().
Index The new index of the track (should start from zero).

Return value

Returns nonzero if the animation track has been successfully created, zero otherwise.

See Also

CreateVertexAnimation()

Supported OS

All

<- CreateVertexPoseKeyFrame() - VertexAnimation Index - MeshPoseCount() ->