|
CFx SDK Documentation 2026 SP0
|
#include <TrVecDefs.h>
Public Types | |
| enum | { kOverrideDuplicate = kLastOverride << 1 , kOverrideWebFile = kLastOverride << 2 , kOverrideWebStream = kLastOverride << 3 } |
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) , kOverrideTextrue = (1 << 3) , kOverrideAttenuation = (1 << 4) , kOverrideAngles = (1 << 5) , kOverrideSpecualFactor = (1 << 6) , kOverrideShadow = (1 << 7) , 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 |
| void | transformBy (const OdGeMatrix3d &xForm) |
| 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 |
| OdString | m_webFile |
| OdStreamBufPtr | m_pWebStream |
Public Attributes inherited from OdTrVisLightDef | |
| enum OdTrVisLightDef::LightType | m_type |
| OdGePoint3d | m_position |
| OdGeVector3d | m_direction |
| OdGeVector3d | m_upVector |
| OdTrVisMaterialColor | m_color |
| OdTrVisTextureId | m_texture |
| 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 | |
| kOverrideWebFile | |
| kOverrideWebStream | |
Definition at line 38 of file TrVecDefs.h.
|
inline |
Definition at line 49 of file TrVecDefs.h.
|
inline |
Definition at line 61 of file TrVecDefs.h.
|
inline |
Definition at line 98 of file TrVecDefs.h.
|
inline |
Definition at line 96 of file TrVecDefs.h.
|
inline |
Definition at line 42 of file TrVecDefs.h.
| OdUInt32 OdTrVecLightDef::m_nDuplicate |
Definition at line 35 of file TrVecDefs.h.
| OdStreamBufPtr OdTrVecLightDef::m_pWebStream |
Definition at line 37 of file TrVecDefs.h.
| OdString OdTrVecLightDef::m_webFile |
Definition at line 36 of file TrVecDefs.h.