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

A spot (large shadow) drawn on the ground by the graphics engine. More...

#include <engine.h>

Public Member Functions

void LoadDefault ()
 

Public Attributes

bool used = false
 If true, ground spot is valid. More...
 
Color color
 Color of the shadow. More...
 
float min = 0.0f
 Min altitude. More...
 
float max = 0.0f
 Max altitude. More...
 
float smooth = 0.0f
 Transition area. More...
 
Math::Vector pos
 Position for the shadow. More...
 
float radius = 0.0f
 Radius of the shadow. More...
 
Math::Vector drawPos
 Position of the shadow drawn. More...
 
float drawRadius = 0.0f
 Radius of the shadow drawn. More...
 

Detailed Description

A spot (large shadow) drawn on the ground by the graphics engine.

Member Data Documentation

bool Gfx::EngineGroundSpot::used = false

If true, ground spot is valid.

Color Gfx::EngineGroundSpot::color

Color of the shadow.

float Gfx::EngineGroundSpot::min = 0.0f

Min altitude.

float Gfx::EngineGroundSpot::max = 0.0f

Max altitude.

float Gfx::EngineGroundSpot::smooth = 0.0f

Transition area.

Math::Vector Gfx::EngineGroundSpot::pos

Position for the shadow.

float Gfx::EngineGroundSpot::radius = 0.0f

Radius of the shadow.

Math::Vector Gfx::EngineGroundSpot::drawPos

Position of the shadow drawn.

float Gfx::EngineGroundSpot::drawRadius = 0.0f

Radius of the shadow drawn.


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