Colobot
Public Attributes | List of all members
Gfx::CPlanet::Planet Struct Reference

Planet texture definition. More...

#include <planet.h>

Public Attributes

PlanetType type = PlanetType::Sky
 Type of planet. More...
 
Math::Point start
 Initial position in degrees. More...
 
Math::Point angle
 Current position in degrees. More...
 
float dim = 0.0f
 Dimensions (0..1) More...
 
float speed = 0.0f
 Speed. More...
 
float dir = 0.0f
 Direction in the sky. More...
 
std::string name
 Name of the texture. More...
 
Math::Point uv1
 Texture mapping. More...
 
Math::Point uv2
 
bool transparent = false
 Transparent texture. More...
 

Detailed Description

Planet texture definition.

Member Data Documentation

PlanetType Gfx::CPlanet::Planet::type = PlanetType::Sky

Type of planet.

Math::Point Gfx::CPlanet::Planet::start

Initial position in degrees.

Math::Point Gfx::CPlanet::Planet::angle

Current position in degrees.

float Gfx::CPlanet::Planet::dim = 0.0f

Dimensions (0..1)

float Gfx::CPlanet::Planet::speed = 0.0f

Speed.

float Gfx::CPlanet::Planet::dir = 0.0f

Direction in the sky.

std::string Gfx::CPlanet::Planet::name

Name of the texture.

Math::Point Gfx::CPlanet::Planet::uv1

Texture mapping.

bool Gfx::CPlanet::Planet::transparent = false

Transparent texture.


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