Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
SDecal Struct Reference

Terrain decal definition. More...

#include <Decal.h>

Collaboration diagram for SDecal:

Public Member Functions

 SDecal (const CMaterial &material, float sizeX, float sizeZ, float angle, float offsetX, float offsetZ, bool floating)
 

Public Attributes

CMaterial m_Material
 
float m_SizeX
 
float m_SizeZ
 
float m_Angle
 
float m_OffsetX
 
float m_OffsetZ
 
bool m_Floating
 

Detailed Description

Terrain decal definition.

Decals are rectangular textures that are projected vertically downwards onto the terrain.

Constructor & Destructor Documentation

◆ SDecal()

SDecal::SDecal ( const CMaterial material,
float  sizeX,
float  sizeZ,
float  angle,
float  offsetX,
float  offsetZ,
bool  floating 
)
inline

Member Data Documentation

◆ m_Angle

float SDecal::m_Angle

◆ m_Floating

bool SDecal::m_Floating

◆ m_Material

CMaterial SDecal::m_Material

◆ m_OffsetX

float SDecal::m_OffsetX

◆ m_OffsetZ

float SDecal::m_OffsetZ

◆ m_SizeX

float SDecal::m_SizeX

◆ m_SizeZ

float SDecal::m_SizeZ

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