CFx SDK Documentation 2024 SP0
|
#include <GiLightTraits.h>
Public Member Functions | |
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 of a standard light source.
Corresponding C++ library: TD_Gi <group OdGi_Classes>
Definition at line 1406 of file GiLightTraits.h.
|
pure virtual |
Retrieves intensity of a light source.
|
pure virtual |
Retrieves color of a light source.
OdGiStandardLightTraits::ODRX_DECLARE_MEMBERS | ( | OdGiStandardLightTraits | ) |
|
pure virtual |
Specifies intensity of a light source.
inten | [in] Light source intensity. |
|
pure virtual |
Specifies color of a light source.
color | [in] Color of the emitted light. |
|
pure virtual |
Specifies shadow parameters for this light source.
params | [in] Shadow parameters. |
|
pure virtual |
Retrieves shadow parameters of this light source.