CFx SDK Documentation  2023 SP0
Public Member Functions | List of all members
OdGiDistantLightTraitsData Class Reference

#include <GiLightTraitsData.h>

Inheritance diagram for OdGiDistantLightTraitsData:
OdGiLightTraitsData

Public Member Functions

 OdGiDistantLightTraitsData ()
 
OdGeVector3d direction () const
 
void setDirection (const OdGeVector3d &dir)
 
bool isSunlight () const
 
void setSunlight (bool val)
 
double physicalIntensity () const
 
void setPhysicalIntensity (double intensity)
 
OdGiColorRGB lampColor () const
 
void setLampColor (const OdGiColorRGB &color)
 
void skyParameters (OdGiSkyParameters &) const
 
void setSkyParameters (const OdGiSkyParameters &)
 
void save (OdGsFiler *pFiler) const
 
void load (OdGsFiler *pFiler)
 
- Public Member Functions inherited from OdGiLightTraitsData
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 &params)
 
LightType type () const
 
void save (OdGsFiler *pFiler) const
 
void load (OdGsFiler *pFiler)
 

Additional Inherited Members

- Public Types inherited from OdGiLightTraitsData
enum  LightType {
  kInvalidLight = -1 , kPointLight = OdGiDrawable::kPointLight , kSpotLight = OdGiDrawable::kSpotLight , kDistantLight = OdGiDrawable::kDistantLight ,
  kWebLight = OdGiDrawable::kWebLight
}
 
- Static Public Member Functions inherited from OdGiLightTraitsData
static LightType drawableLightType (const OdGiDrawable *pDrawable)
 
static void deleteLightTraitsData (OdGiLightTraitsData *pLightTraits)
 
- Protected Member Functions inherited from OdGiLightTraitsData
 OdGiLightTraitsData ()
 
- Protected Attributes inherited from OdGiLightTraitsData
LightType m_type
 

Detailed Description

Corresponding C++ library: TD_Gi <group OdGi_Classes>

Definition at line 274 of file GiLightTraitsData.h.

Constructor & Destructor Documentation

◆ OdGiDistantLightTraitsData()

OdGiDistantLightTraitsData::OdGiDistantLightTraitsData ( )
inline

Definition at line 284 of file GiLightTraitsData.h.

Member Function Documentation

◆ direction()

OdGeVector3d OdGiDistantLightTraitsData::direction ( ) const
inline

Definition at line 292 of file GiLightTraitsData.h.

◆ isSunlight()

bool OdGiDistantLightTraitsData::isSunlight ( ) const
inline

Definition at line 295 of file GiLightTraitsData.h.

◆ lampColor()

OdGiColorRGB OdGiDistantLightTraitsData::lampColor ( ) const
inline

Definition at line 301 of file GiLightTraitsData.h.

◆ load()

void OdGiDistantLightTraitsData::load ( OdGsFiler pFiler)
inline

Definition at line 317 of file GiLightTraitsData.h.

◆ physicalIntensity()

double OdGiDistantLightTraitsData::physicalIntensity ( ) const
inline

Definition at line 298 of file GiLightTraitsData.h.

◆ save()

void OdGiDistantLightTraitsData::save ( OdGsFiler pFiler) const
inline

Definition at line 307 of file GiLightTraitsData.h.

◆ setDirection()

void OdGiDistantLightTraitsData::setDirection ( const OdGeVector3d dir)
inline

Definition at line 293 of file GiLightTraitsData.h.

◆ setLampColor()

void OdGiDistantLightTraitsData::setLampColor ( const OdGiColorRGB color)
inline

Definition at line 302 of file GiLightTraitsData.h.

◆ setPhysicalIntensity()

void OdGiDistantLightTraitsData::setPhysicalIntensity ( double  intensity)
inline

Definition at line 299 of file GiLightTraitsData.h.

◆ setSkyParameters()

void OdGiDistantLightTraitsData::setSkyParameters ( const OdGiSkyParameters )
inline

Definition at line 305 of file GiLightTraitsData.h.

◆ setSunlight()

void OdGiDistantLightTraitsData::setSunlight ( bool  val)
inline

Definition at line 296 of file GiLightTraitsData.h.

◆ skyParameters()

void OdGiDistantLightTraitsData::skyParameters ( OdGiSkyParameters ) const
inline

Definition at line 304 of file GiLightTraitsData.h.


The documentation for this class was generated from the following file: