CFx SDK Documentation 2024 SP0
|
#include <GiLightTraits.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdGiDistantLightTraits) | |
virtual void | setLightDirection (const OdGeVector3d &vec)=0 |
virtual OdGeVector3d | lightDirection () const =0 |
virtual void | setIsSunlight (bool isSunlight)=0 |
virtual bool | isSunlight () const =0 |
virtual void | setPhysicalIntensity (double fIntensity)=0 |
virtual double | physicalIntensity () const =0 |
virtual void | setLampColor (const OdGiColorRGB &color)=0 |
virtual OdGiColorRGB | lampColor () const =0 |
virtual void | setSkyParameters (const OdGiSkyParameters ¶ms)=0 |
virtual void | skyParameters (OdGiSkyParameters ¶ms) const =0 |
Public Member Functions inherited from OdGiStandardLightTraits | |
ODRX_DECLARE_MEMBERS (OdGiStandardLightTraits) | |
virtual void | setIntensity (double inten)=0 |
virtual double | intensity () const =0 |
virtual void | setLightColor (const OdCmEntityColor &color)=0 |
virtual OdCmEntityColor | lightColor () const =0 |
virtual void | setShadowParameters (const OdGiShadowParameters ¶ms)=0 |
virtual OdGiShadowParameters | shadowParameters () const =0 |
Public Member Functions inherited from OdGiLightTraits | |
ODRX_DECLARE_MEMBERS (OdGiLightTraits) | |
virtual void | setOn (bool on)=0 |
virtual bool | isOn () const =0 |
Public Member Functions inherited from OdGiDrawableTraits | |
ODRX_DECLARE_MEMBERS (OdGiDrawableTraits) | |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () const |
virtual void | addRef ()=0 |
virtual void | release ()=0 |
virtual long | numRefs () const |
bool | isKindOf (const OdRxClass *pClass) const |
virtual OdRxObjectPtr | clone () const |
virtual void | copyFrom (const OdRxObject *pSource) |
virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
virtual bool | isEqualTo (const OdRxObject *pOther) const |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Represents characteristics for the distant light. This type of light source is located infinitely far from the scene and emits light in a specified direction. Corresponding C++ library: TD_Gi <group OdGi_Classes>
Definition at line 1726 of file GiLightTraits.h.
|
pure virtual |
Checks whether this light is rendered as sunlight.
|
pure virtual |
Retrieves color of the light lamp.
|
pure virtual |
Retrieves direction of the distant light.
OdGiDistantLightTraits::ODRX_DECLARE_MEMBERS | ( | OdGiDistantLightTraits | ) |
|
pure virtual |
Retrieves physical intensity for this light source in candela.
|
pure virtual |
Specifies whether this light is rendered as sunlight.
isSunlight | [in] Flag that specifies whether to render this light as sunlight. |
|
pure virtual |
Specifies color for the light lamp.
color | [in] RGB color value. |
|
pure virtual |
Specifies direction of the distant light.
vec | [in] Light direction. |
|
pure virtual |
Specifies physical intensity for this light source in candela.
fIntensity | [in] Physical intensity of the light in candela. |
|
pure virtual |
Specifies sky parameters for this light.
params | [in] Sky properties for this light. |
|
pure virtual |
Retrieves sky parameters of this light.