|
CFx SDK Documentation 2024 SP0
|
#include <GiLightTraits.h>
Public Member Functions | |
| ODRX_DECLARE_MEMBERS (OdGiSpotLightTraits) | |
| virtual void | setPosition (const OdGePoint3d &pos)=0 |
| virtual OdGePoint3d | position () const =0 |
| virtual void | setTargetLocation (const OdGePoint3d &loc)=0 |
| virtual OdGePoint3d | targetLocation () const =0 |
| virtual bool | setHotspotAndFalloff (double hotspot, double falloff)=0 |
| virtual double | hotspot () const =0 |
| virtual double | falloff () const =0 |
| virtual OdGiLightAttenuation | lightAttenuation () const =0 |
| virtual void | setAttenuation (const OdGiLightAttenuation &atten)=0 |
| virtual void | setPhysicalIntensity (double fIntensity)=0 |
| virtual double | physicalIntensity () const =0 |
| virtual void | setLampColor (const OdGiColorRGB &color)=0 |
| virtual OdGiColorRGB | lampColor () 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 spot light. This type of light source emits a cone of light in a specified direction. Corresponding C++ library: TD_Gi <group OdGi_Classes>
Definition at line 1598 of file GiLightTraits.h.
|
pure virtual |
Retrieves the cone angle that produces the light falloff.
|
pure virtual |
Retrieves the cone angle that produces the brightest part of the beam (hotspot) of this light.
|
pure virtual |
Retrieves color of the light lamp.
|
pure virtual |
Retrieves light attenuation parameters for this light source.
| OdGiSpotLightTraits::ODRX_DECLARE_MEMBERS | ( | OdGiSpotLightTraits | ) |
|
pure virtual |
Retrieves physical intensity for this light source in candela.
|
pure virtual |
Retrieves position of the spot light source.
|
pure virtual |
Specifies attenuation light parameters for the point light source.
| atten | [in] Point light source position. |
|
pure virtual |
Specifies target location of the light.
| hotspot | [in] Hotspot cone angle, in radians. Defines the brightest part of the spot light beam. |
| falloff | [in] Falloff angle, in radians. Defines the full cone of light. |
|
pure virtual |
Specifies color for the light lamp.
| color | [in] RGB color value. |
|
pure virtual |
Specifies physical intensity for this light source in candela.
| fIntensity | [in] Physical intensity of the light in candela. |
|
pure virtual |
Specifies position of the spot light source.
| pos | [in] Spot light source position. |
|
pure virtual |
Specifies target location of the light.
| loc | [in] Location of the target. Must differ from the spot light position. |
|
pure virtual |
Retrieves target location of the light.