RaySupreme Script API
 All Data Structures Functions Pages
Public Member Functions
VertexHandle Class Reference

Public Member Functions

 VertexHandle (int index)
 
uint index (void)
 

Detailed Description

A VertexHandle is used as a type-safe wrapper for the index of a vertex.

Constructor & Destructor Documentation

VertexHandle::VertexHandle ( int  index)

Constructs a VertexHandle for the vertex identified by the given index.

Parameters
indexThe index of the vertex or -1 to construct an invalid VertexHandle for test purposes. index has to be smaller than Mesh::vertexCount().

Member Function Documentation

uint VertexHandle::index ( void  )

Returns the index of the vertex.

Returns
The index of the vertex.