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

Public Member Functions

 FaceHandle (int index)
 
uint index (void)
 

Detailed Description

A FaceHandle is used as a type-safe wrapper for the index of a face.

Constructor & Destructor Documentation

FaceHandle::FaceHandle ( int  index)

Constructs a FaceHandle for the face identified by the given index.

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

Member Function Documentation

uint FaceHandle::index ( void  )

Returns the index of the face.

Returns
The index of the face.