int HandleIndex { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The HandleIndex property of the MeshVertex struct in the Editor.MeshEditor namespace represents the index of the vertex handle within the mesh. This property is an integer value that uniquely identifies the vertex handle in the context of the mesh it belongs to.

Usage

Use the HandleIndex property to retrieve or set the index of a vertex handle within a mesh. This property is particularly useful when you need to reference or manipulate specific vertices in a mesh editing context.

Example

// Example of accessing the HandleIndex property
MeshVertex vertex = new MeshVertex();
int index = vertex.HandleIndex;

// Set a new index
vertex.HandleIndex = 5;