CFx SDK Documentation  2022 SP0
Public Types | Public Member Functions | Public Attributes | List of all members
OdTrVisLightDef Struct Reference

#include <TrVisLightDef.h>

Public Types

enum  LightType { kDistant = 0 , kPoint , kSpot }
 

Public Member Functions

bool eq (const OdTrVisLightDef &dl2) const
 
void save (OdGsFiler *pFiler) const
 
void load (OdGsFiler *pFiler)
 

Public Attributes

enum OdTrVisLightDef::LightType m_type
 
bool m_bDefLight
 
OdGePoint3d m_position
 
OdGeVector3d m_direction
 
float m_color [3]
 
float m_constantAttenuation
 
float m_linearAttenuation
 
float m_quadraticAttenuation
 
float m_spotCutoff
 
float m_spotExponent
 
float m_specularFactor
 

Detailed Description

<group ExRender_Windows_Classes>

Definition at line 38 of file TrVisLightDef.h.

Member Enumeration Documentation

◆ LightType

Enumerator
kDistant 
kPoint 
kSpot 

Definition at line 41 of file TrVisLightDef.h.

Member Function Documentation

◆ eq()

bool OdTrVisLightDef::eq ( const OdTrVisLightDef dl2) const
inline

Definition at line 71 of file TrVisLightDef.h.

◆ load()

void OdTrVisLightDef::load ( OdGsFiler pFiler)
inline

Definition at line 99 of file TrVisLightDef.h.

◆ save()

void OdTrVisLightDef::save ( OdGsFiler pFiler) const
inline

Definition at line 83 of file TrVisLightDef.h.

Member Data Documentation

◆ m_bDefLight

bool OdTrVisLightDef::m_bDefLight

Definition at line 48 of file TrVisLightDef.h.

◆ m_color

float OdTrVisLightDef::m_color[3]

Definition at line 54 of file TrVisLightDef.h.

◆ m_constantAttenuation

float OdTrVisLightDef::m_constantAttenuation

Definition at line 56 of file TrVisLightDef.h.

◆ m_direction

OdGeVector3d OdTrVisLightDef::m_direction

Definition at line 52 of file TrVisLightDef.h.

◆ m_linearAttenuation

float OdTrVisLightDef::m_linearAttenuation

Definition at line 57 of file TrVisLightDef.h.

◆ m_position

OdGePoint3d OdTrVisLightDef::m_position

Definition at line 50 of file TrVisLightDef.h.

◆ m_quadraticAttenuation

float OdTrVisLightDef::m_quadraticAttenuation

Definition at line 58 of file TrVisLightDef.h.

◆ m_specularFactor

float OdTrVisLightDef::m_specularFactor

Definition at line 63 of file TrVisLightDef.h.

◆ m_spotCutoff

float OdTrVisLightDef::m_spotCutoff

Definition at line 60 of file TrVisLightDef.h.

◆ m_spotExponent

float OdTrVisLightDef::m_spotExponent

Definition at line 61 of file TrVisLightDef.h.

◆ m_type

enum OdTrVisLightDef::LightType OdTrVisLightDef::m_type

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