Python Script Engine
1.0
GL Studio Editor Python Script API
|
Public Member Functions | |
VertexArray () | |
void | Insert (Vertex &v) |
unsigned int | GetCount (void) |
Vertex * | GetVertexAtIndex (int index) |
Common editor interface Vertex array.
If the VertexArray instance is empty, it will return 'False' in comparison checks.
VertexArray::VertexArray | ( | ) |
default ctor
unsigned int VertexArray::GetCount | ( | void | ) |
get the number of elements in the array
Vertex* VertexArray::GetVertexAtIndex | ( | int | index | ) |
get the vertex at the given index in the array
index | the index of the vertex to retrieve |
void VertexArray::Insert | ( | Vertex & | v | ) |
insert the given vertex at the end of the array
v | vertex to insert |