|
CFx SDK Documentation 2026 SP0
|
#include <GiLightTraitsData.h>
Protected Types | |
| enum | LightFlags { kFlagHorzAng90to270 = (OdGiPointLightTraitsData::kLastFlag << 1) , kLastFlag = kFlagHorzAng90to270 } |
Protected Types inherited from OdGiPointLightTraitsData | |
| enum | LightFlags { kFlagHasTarget = (OdGiLightTraitsData::kLastFlag << 1) , kFlagHemisphere = (OdGiLightTraitsData::kLastFlag << 2) , kLastFlag = kFlagHemisphere } |
Protected Types inherited from OdGiLightTraitsData | |
| enum | LightFlags { kFlagIsOn = (1 << 0) , kFlagIsTransformed = (1 << 1) , kLastFlag = kFlagIsTransformed } |
Additional Inherited Members | |
Public Types inherited from OdGiLightTraitsData | |
| enum | LightType { kInvalidLight = -1 , kPointLight = OdGiDrawable::kPointLight , kSpotLight = OdGiDrawable::kSpotLight , kDistantLight = OdGiDrawable::kDistantLight , kWebLight = OdGiDrawable::kWebLight } |
Static Public Member Functions inherited from OdGiLightTraitsData | |
| static LightType | drawableLightType (const OdGiDrawable *pDrawable) |
| static void | deleteLightTraitsData (OdGiLightTraitsData *pLightTraits) |
Protected Member Functions inherited from OdGiLightTraitsData | |
| OdGiLightTraitsData () | |
Protected Attributes inherited from OdGiLightTraitsData | |
| OdUInt32 | m_uFlags |
| LightType | m_type |
Corresponding C++ library: TD_Gi <group OdGi_Classes>
Definition at line 747 of file GiLightTraitsData.h.
|
protected |
| Enumerator | |
|---|---|
| kFlagHorzAng90to270 | |
| kLastFlag | |
Definition at line 757 of file GiLightTraitsData.h.
|
inline |
Default constructor for the OdGiWebLightTraitsData class.
Definition at line 767 of file GiLightTraitsData.h.
Loads the light traits from a specified filer.
| pFiler | [in] Pointer to a filer. |
Definition at line 909 of file GiLightTraitsData.h.
Saves the light traits to a specified filer.
| pFiler | [in] Pointer to a filer. |
Definition at line 878 of file GiLightTraitsData.h.
Specifies the path to the file that stores the light's goniometric data (for example, inside *.IES files). Applicable only if photometric lights are used.
| fileName | [in] Full path to a web file. |
Definition at line 786 of file GiLightTraitsData.h.
|
inlinevirtual |
Specifies the stream that stores the light's goniometric data. Applicable only if photometric lights are used.
| fileName | [in] Stream pointer. |
Definition at line 793 of file GiLightTraitsData.h.
|
inline |
Specifies the type of web file which is used for the web light.
| type | [in] Type of the web file. |
Definition at line 843 of file GiLightTraitsData.h.
|
inline |
Specifies the flux value for the web light.
| fFlux | [in] Flux value (in lumens) for the web light. |
Definition at line 830 of file GiLightTraitsData.h.
|
inline |
Specifies whether the IES file based web light is a bilaterally symmetric luminaire (symmetric about the 90 to 270 degree plane).
| bFlag | [in] Flag that specifies whether the web light has a horizontal angle that starts from 90 degrees and ends with 270 degrees. |
Definition at line 871 of file GiLightTraitsData.h.
|
inline |
Specifies rotation offset used to orient the goniometric data relative to the light orientation. The offset is specified in XYZ Euler angles.
| fRot | [in] Rotation offset. |
Definition at line 817 of file GiLightTraitsData.h.
|
inline |
Specifies the symmetry of the web file.
| sym | [in] Symmetry of the web file. |
Definition at line 856 of file GiLightTraitsData.h.
|
inline |
Retrieves a string that represents a full path to a web file.
Definition at line 779 of file GiLightTraitsData.h.
|
inlinevirtual |
Retrieves a stream with data for web light.
Definition at line 803 of file GiLightTraitsData.h.
|
inline |
Retrieves the type of a web file used for the web light.
Definition at line 836 of file GiLightTraitsData.h.
|
inline |
Retrieves the flux value (in lumens) for the web light.
Definition at line 823 of file GiLightTraitsData.h.
|
inline |
Checks whether the web light is a bilaterally symmetric luminaire.
Definition at line 864 of file GiLightTraitsData.h.
|
inline |
Retrieves rotation offset used to orient the goniometric data relative to the light orientation (in XYZ Euler angles).
Definition at line 809 of file GiLightTraitsData.h.
|
inline |
Retrieves the type of symmetry in the web file.
Definition at line 849 of file GiLightTraitsData.h.