Colobot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Public Attributes | List of all members
Gfx::EngineObject Struct Reference

Object drawn by the graphics engine. More...

#include <engine.h>

Public Member Functions

 EngineObject ()
 Calls LoadDefault()
void LoadDefault ()
 Loads default values.

Public Attributes

bool used
 If true, object is valid in objects vector.
int baseObjRank
 Rank of associated base engine object.
bool visible
 If true, the object is drawn.
bool drawWorld
 If true, object is behind the 2D interface.
bool drawFront
 If true, the shape is before the 2D interface.
EngineObjectType type
 Type of object.
Math::Matrix transform
 Transformation matrix.
float distance
 Distance to object from eye point.
int shadowRank
 Rank of the associated shadow.
float transparency
 Transparency of the object [0, 1].

Detailed Description

Object drawn by the graphics engine.


The documentation for this struct was generated from the following file: