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