Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
LightEnvironmentClass::InputLightStruct Struct Reference

#include <lightenvironment.h>

Public Member Functions

void Init (const LightClass &light, const Vector3 &object_center)
 
void Init_From_Point_Or_Spot_Light (const LightClass &light, const Vector3 &object_center)
 
void Init_From_Directional_Light (const LightClass &light, const Vector3 &object_center)
 
float Contribution (void)
 

Public Attributes

Vector3 Direction
 
Vector3 Ambient
 
Vector3 Diffuse
 
bool DiffuseRejected
 
bool m_point
 
Vector3 m_center
 
float m_innerRadius
 
float m_outerRadius
 
Vector3 m_ambient
 
Vector3 m_diffuse
 

Detailed Description

Definition at line 139 of file lightenvironment.h.

Member Function Documentation

◆ Contribution()

float LightEnvironmentClass::InputLightStruct::Contribution ( void )

Definition at line 187 of file lightenvironment.cpp.

◆ Init()

void LightEnvironmentClass::InputLightStruct::Init ( const LightClass & light,
const Vector3 & object_center )

Definition at line 65 of file lightenvironment.cpp.

◆ Init_From_Directional_Light()

void LightEnvironmentClass::InputLightStruct::Init_From_Directional_Light ( const LightClass & light,
const Vector3 & object_center )

Definition at line 173 of file lightenvironment.cpp.

◆ Init_From_Point_Or_Spot_Light()

void LightEnvironmentClass::InputLightStruct::Init_From_Point_Or_Spot_Light ( const LightClass & light,
const Vector3 & object_center )

Definition at line 84 of file lightenvironment.cpp.

Member Data Documentation

◆ Ambient

Vector3 LightEnvironmentClass::InputLightStruct::Ambient

Definition at line 147 of file lightenvironment.h.

◆ Diffuse

Vector3 LightEnvironmentClass::InputLightStruct::Diffuse

Definition at line 148 of file lightenvironment.h.

◆ DiffuseRejected

bool LightEnvironmentClass::InputLightStruct::DiffuseRejected

Definition at line 149 of file lightenvironment.h.

◆ Direction

Vector3 LightEnvironmentClass::InputLightStruct::Direction

Definition at line 146 of file lightenvironment.h.

◆ m_ambient

Vector3 LightEnvironmentClass::InputLightStruct::m_ambient

Definition at line 155 of file lightenvironment.h.

◆ m_center

Vector3 LightEnvironmentClass::InputLightStruct::m_center

Definition at line 152 of file lightenvironment.h.

◆ m_diffuse

Vector3 LightEnvironmentClass::InputLightStruct::m_diffuse

Definition at line 156 of file lightenvironment.h.

◆ m_innerRadius

float LightEnvironmentClass::InputLightStruct::m_innerRadius

Definition at line 153 of file lightenvironment.h.

◆ m_outerRadius

float LightEnvironmentClass::InputLightStruct::m_outerRadius

Definition at line 154 of file lightenvironment.h.

◆ m_point

bool LightEnvironmentClass::InputLightStruct::m_point

Definition at line 151 of file lightenvironment.h.


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