CFx SDK Documentation
2022 SP0
|
#include <GiLightTraitsData.h>
Public Types | |
enum | LightType { kInvalidLight = -1 , kPointLight = OdGiDrawable::kPointLight , kSpotLight = OdGiDrawable::kSpotLight , kDistantLight = OdGiDrawable::kDistantLight , kWebLight = OdGiDrawable::kWebLight } |
Public Member Functions | |
bool | isOn () const |
void | setOn (bool value) |
double | intensity () const |
void | setIntensity (double dIntensity) |
OdCmEntityColor | color () const |
void | setColor (const OdCmEntityColor &color) |
OdGiShadowParameters | shadowParameters () const |
void | setShadowParameters (const OdGiShadowParameters ¶ms) |
LightType | type () const |
void | save (OdGsFiler *pFiler) const |
void | load (OdGsFiler *pFiler) |
Static Public Member Functions | |
static LightType | drawableLightType (const OdGiDrawable *pDrawable) |
static void | deleteLightTraitsData (OdGiLightTraitsData *pLightTraits) |
Protected Member Functions | |
OdGiLightTraitsData () | |
Protected Attributes | |
LightType | m_type |
Corresponding C++ library: TD_Gi <group OdGi_Classes>
Definition at line 35 of file GiLightTraitsData.h.
Enumerator | |
---|---|
kInvalidLight | |
kPointLight | |
kSpotLight | |
kDistantLight | |
kWebLight |
Definition at line 43 of file GiLightTraitsData.h.
|
inlineprotected |
Definition at line 57 of file GiLightTraitsData.h.
|
inline |
Definition at line 70 of file GiLightTraitsData.h.
|
inlinestatic |
Definition at line 391 of file GiLightTraitsData.h.
|
inlinestatic |
Definition at line 84 of file GiLightTraitsData.h.
|
inline |
Definition at line 67 of file GiLightTraitsData.h.
|
inline |
Definition at line 64 of file GiLightTraitsData.h.
Definition at line 106 of file GiLightTraitsData.h.
Definition at line 99 of file GiLightTraitsData.h.
|
inline |
Definition at line 71 of file GiLightTraitsData.h.
|
inline |
Definition at line 68 of file GiLightTraitsData.h.
|
inline |
Definition at line 65 of file GiLightTraitsData.h.
|
inline |
Definition at line 74 of file GiLightTraitsData.h.
|
inline |
Definition at line 73 of file GiLightTraitsData.h.
|
inline |
Definition at line 76 of file GiLightTraitsData.h.
|
protected |
Definition at line 54 of file GiLightTraitsData.h.