CFx SDK Documentation 2024 SP0
|
#include <TrVecDefs.h>
Public Types | |
enum | { kOverrideDuplicate = kLastOverride << 1 } |
Public Types inherited from OdTrVisLightDef | |
enum | LightDefFlags { kLightEnabled = (1 << 0) , kLightUseLims = (1 << 1) , kLightShadows = (1 << 2) } |
enum | Overrider { kOverrideVisibility = (1 << 0) , kOverrideOrientation = (1 << 1) , kOverrideColor = (1 << 2) , kOverrideAttenuation = (1 << 3) , kOverrideAngles = (1 << 4) , kOverrideSpecualFactor = (1 << 5) , kOverrideShadow = (1 << 6) , kLastOverride = kOverrideShadow } |
enum | LightType { kDistant = 0 , kPoint , kSpot } |
Public Member Functions | |
void | setDefault () |
OdTrVecLightDef & | apply (OdUInt32 nMod, const OdTrVecLightDef &l) |
OdUInt32 | diff (const OdTrVecLightDef &dl2, bool bFinFirstDiff=false) const |
bool | operator== (const OdTrVecLightDef &dl2) const |
bool | operator!= (const OdTrVecLightDef &dl2) const |
Public Member Functions inherited from OdTrVisLightDef | |
void | setLightOn (bool bSet) |
bool | isLightOn () const |
void | enableAttenuationLimits (bool bSet) |
bool | attenuationLimitsEnabled () const |
void | enableShadows (bool bSet) |
bool | shadowsEnabled () const |
void | setDefault () |
OdTrVisLightDef & | apply (OdUInt32 nMod, const OdTrVisLightDef &l) |
OdUInt32 | diff (const OdTrVisLightDef &dl2, bool bFinFirstDiff=false) const |
bool | operator== (const OdTrVisLightDef &dl2) const |
bool | operator!= (const OdTrVisLightDef &dl2) const |
void | save (OdGsFiler *pFiler) const |
void | load (OdGsFiler *pFiler) |
Public Attributes | |
OdUInt32 | m_nDuplicate |
Public Attributes inherited from OdTrVisLightDef | |
enum OdTrVisLightDef::LightType | m_type |
OdGePoint3d | m_position |
OdGeVector3d | m_direction |
OdTrVisMaterialColor | m_color |
float | m_constantAttenuation |
float | m_linearAttenuation |
float | m_quadraticAttenuation |
float | m_startAttenuationLimit |
float | m_endAttenuationLimit |
float | m_spotCutoff |
float | m_spotExponent |
float | m_specularFactor |
OdUInt16 | m_shadowMapSize |
OdUInt16 | m_shadowSoftness |
OdUInt16 | m_shadowSamples |
OdUInt16 | m_lightFlags |
<group ExRender_Windows_Classes>
Definition at line 34 of file TrVecDefs.h.
anonymous enum |
Enumerator | |
---|---|
kOverrideDuplicate |
Definition at line 36 of file TrVecDefs.h.
|
inline |
Definition at line 40 of file TrVecDefs.h.
|
inline |
Definition at line 48 of file TrVecDefs.h.
|
inline |
Definition at line 56 of file TrVecDefs.h.
|
inline |
Definition at line 54 of file TrVecDefs.h.
|
inline |
Definition at line 37 of file TrVecDefs.h.
OdUInt32 OdTrVecLightDef::m_nDuplicate |
Definition at line 35 of file TrVecDefs.h.