|
CFx SDK Documentation 2024 SP0
|
#include <GiEnvironment.h>
Public Member Functions | |
| ODRX_DECLARE_MEMBERS (OdGiRenderEnvironmentTraits) | |
| virtual void | setEnable (bool bEnable)=0 |
| virtual bool | enable () const =0 |
| virtual void | setIsBackground (bool bEnable)=0 |
| virtual bool | isBackground () const =0 |
| virtual void | setFogColor (const OdCmEntityColor &color)=0 |
| virtual OdCmEntityColor | fogColor () const =0 |
| virtual void | setNearDistance (double nearDist)=0 |
| virtual double | nearDistance () const =0 |
| virtual void | setFarDistance (double farDist)=0 |
| virtual double | farDistance () const =0 |
| virtual void | setNearPercentage (double nearPct)=0 |
| virtual double | nearPercentage () const =0 |
| virtual void | setFarPercentage (double farPct)=0 |
| virtual double | farPercentage () const =0 |
| virtual void | setEnvironmentMap (const OdGiMaterialTexture *m)=0 |
| virtual OdGiMaterialTexture * | environmentMap () 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 the render environment which is fog and environment map in the display system.
Corresponding C++ library: TD_Gi <group OdGi_Classes>
Definition at line 38 of file GiEnvironment.h.
|
pure virtual |
Checks whether fog rendering is enabled.
|
pure virtual |
Retrieves the environment map.
|
pure virtual |
Retrieves far distance of fog rendering.
|
pure virtual |
Retrieves far percentage of the fog.
|
pure virtual |
Retrieves fog color.
|
pure virtual |
Checks whether fog is treated background.
|
pure virtual |
Retrieves near distance of fog rendering.
|
pure virtual |
Retrieves near percentage of the fog.
| OdGiRenderEnvironmentTraits::ODRX_DECLARE_MEMBERS | ( | OdGiRenderEnvironmentTraits | ) |
|
pure virtual |
Enables or disables the fog rendering.
| bEnable | [in] Flag that specifies whether to enable fog rendering. |
|
pure virtual |
Sets the environment map.
| m | [in] Pointer to the environment map. |
|
pure virtual |
Specifies far distance for the fog rendering.
| farDist | [in] Far distance of the fog. |
|
pure virtual |
Specifies far percentage of the fog.
| farPct | [in] Far percentage of the fog. |
|
pure virtual |
Sets background color.
| color | [in] Fog color. |
|
pure virtual |
Specifies whether fog should be treated as a background.
| bEnable | [in] Flag that specifies whether to treat fog as background. |
|
pure virtual |
Specifies near distance for the fog rendering.
| nearDist | [in] Near distance of the fog. |
|
pure virtual |
Specifies near percentage of the fog.
| nearPct | [in] Near percentage of the fog. |