SetVertexSelected Data Member Function

Changes the selection state of a vertex in a <PathVertexSelect> object. If the vertex is selected, it then becomes part of the set of vertices that will be selected or deselected as part of the <PathVertexSelect> object's editing operation. If a vertex is deselected, it is no longer part of the <PathVertexSelect> object's vertex set.

Prototype

int32 SetVertexSelected( int32 p_nVertexIndex, int32 p_bSelectState )

Parameters

Parameter Type Parameter Name Documentation
int32p_nVertexIndexThe index of the vertex to select.
int32p_bSelectStateA flag indicating whether to select or deselect the vertex. If this value is zero, the vertex will be removed from the selection set, otherwise it will be added to the selection set.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.