Colobot
|
Object drawn by the graphics engine. More...
#include <engine.h>
Public Member Functions | |
void | LoadDefault () |
Loads default values. | |
Public Attributes | |
bool | used = false |
If true, object is valid in objects vector. | |
int | baseObjRank = -1 |
Rank of associated base engine object. | |
bool | visible = false |
If true, the object is drawn. | |
bool | drawWorld = false |
If true, object is behind the 2D interface. | |
bool | drawFront = false |
If true, the shape is before the 2D interface. | |
EngineObjectType | type = ENG_OBJTYPE_NULL |
Type of object. | |
Math::Matrix | transform |
Transformation matrix. | |
float | distance = 0.0f |
Distance to object from eye point. | |
int | shadowRank = -1 |
Rank of the associated shadow. | |
float | transparency = 0.0f |
Transparency of the object [0, 1]. | |
Object drawn by the graphics engine.