Colobot
Public Member Functions | Public Attributes | List of all members
Gfx::EngineShadow Struct Reference

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.
 
bool hide = false
 If true, shadow is invisible (object being carried for example)
 
int objRank = -1
 Rank of the associated object.
 
EngineShadowType type = ENG_SHADOW_NORM
 Type of shadow.
 
Math::Vector pos
 Position of the shadow.
 
Math::Vector normal
 Normal to the terrain.
 
float angle = 0.0f
 Angle of the shadow.
 
float radius = 0.0f
 Radius of the shadow.
 
float intensity = 0.0f
 Intensity of the shadow.
 
float height = 0.0f
 Height from the ground.
 

Detailed Description

Shadow drawn by the graphics engine.


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