Colobot
|
Shadow drawn by the graphics engine. More...
#include <engine.h>
Public Member Functions | |
void | LoadDefault () |
Public Attributes | |
bool | used = false |
If true, shadow is valid. More... | |
bool | hide = false |
If true, shadow is invisible (object being carried for example) More... | |
int | objRank = -1 |
Rank of the associated object. More... | |
EngineShadowType | type = ENG_SHADOW_NORM |
Type of shadow. More... | |
Math::Vector | pos |
Position of the shadow. More... | |
Math::Vector | normal |
Normal to the terrain. More... | |
float | angle = 0.0f |
Angle of the shadow. More... | |
float | radius = 0.0f |
Radius of the shadow. More... | |
float | intensity = 0.0f |
Intensity of the shadow. More... | |
float | height = 0.0f |
Height from the ground. More... | |
Shadow drawn by the graphics engine.
bool Gfx::EngineShadow::used = false |
If true, shadow is valid.
bool Gfx::EngineShadow::hide = false |
If true, shadow is invisible (object being carried for example)
int Gfx::EngineShadow::objRank = -1 |
Rank of the associated object.
EngineShadowType Gfx::EngineShadow::type = ENG_SHADOW_NORM |
Type of shadow.
Math::Vector Gfx::EngineShadow::pos |
Position of the shadow.
Math::Vector Gfx::EngineShadow::normal |
Normal to the terrain.
float Gfx::EngineShadow::angle = 0.0f |
Angle of the shadow.
float Gfx::EngineShadow::radius = 0.0f |
Radius of the shadow.
float Gfx::EngineShadow::intensity = 0.0f |
Intensity of the shadow.
float Gfx::EngineShadow::height = 0.0f |
Height from the ground.