#include <uvertexarray.hpp>
Inheritance diagram for ufo::UVertexArray:
Public Types | |
enum | Type { NoType = 0, V3F, C3F_V3F, CARGB_V3F, CRGBA_V2F } |
Public Member Functions | |
void | setOffset (float x, float y) |
void | add (float x, float y) |
void | setColor (const UColor &col) |
int | getCount () const |
int | getType () const |
void | setType (Type t) |
void * | getArray () |
std::vector< std::pair< float, float > > | getVertices () const |
std::vector< UColor > | getColors () const |
Protected Member Functions | |
void | dispose () |
|
This type is used to determine the array returned by getArray.
|
|
Adds a new vertex to the array. |
|
Deletes allocated memory for the returned vertex array. |
|
|
|
|
|
|
|
|
|
|
|
Sets a new color for all following vertices. |
|
Sets an offset for all following points (not yet implemented). |
|
Explicitely sets the type of the vertices. This effects the output of getArray.
|