CFx SDK Documentation 2024 SP0
|
#include <GiLightTraitsData.h>
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 | |
LightType | m_type |
Corresponding C++ library: TD_Gi <group OdGi_Classes>
Definition at line 210 of file GiLightTraitsData.h.
|
inline |
Default constructor for the OdGiPointLightTraitsData class. Creates an object with physical intensity 1500, white lamp color, without target and hemispherical distribution. Also sets type of the light to kPointLight.
Definition at line 227 of file GiLightTraitsData.h.
|
inline |
Retrieves light attenuation parameters for this light source.
Definition at line 259 of file GiLightTraitsData.h.
|
inline |
Checks whether this point has an associated target grip displayed.
Definition at line 310 of file GiLightTraitsData.h.
|
inline |
Definition at line 337 of file GiLightTraitsData.h.
|
inline |
Retrieves color of the light lamp.
Definition at line 293 of file GiLightTraitsData.h.
Loads the light traits from a specified filer.
pFiler | [in] Pointer to a filer. |
Definition at line 364 of file GiLightTraitsData.h.
|
inline |
Retrieves physical intensity for this light source in candela.
Definition at line 276 of file GiLightTraitsData.h.
|
inline |
Retrieves position of the point light source.
Definition at line 242 of file GiLightTraitsData.h.
Saves the light traits to a specified filer.
pFiler | [in] Pointer to a filer. |
Definition at line 346 of file GiLightTraitsData.h.
|
inline |
Specifies attenuation light parameters for the point light source.
atten | [in] Point light source position. |
Definition at line 266 of file GiLightTraitsData.h.
|
inline |
Specifies whether this point should have an associated target grip displayed.
bTarget | [in] Flag that specifies whether to display a target grip for orienting the light. |
Definition at line 317 of file GiLightTraitsData.h.
|
inline |
Definition at line 336 of file GiLightTraitsData.h.
|
inline |
Specifies color for the light lamp.
color | [in] RGB color value. |
Definition at line 300 of file GiLightTraitsData.h.
|
inline |
Specifies physical intensity for this light source in candela.
fIntensity | [in] Physical intensity of the light in candela. |
Definition at line 283 of file GiLightTraitsData.h.
|
inline |
Specifies position of the point light source.
pos | [in] Point light source position. |
Definition at line 249 of file GiLightTraitsData.h.
|
inline |
Specifies target location of the light.
loc | [in] Location of the target. Must differ from the point light position. |
Definition at line 334 of file GiLightTraitsData.h.
|
inline |
Retrieves target location of the light.
Definition at line 327 of file GiLightTraitsData.h.