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

#include <GiLightTraits.h>

Public Types

enum  AttenuationType { kNone = 0 , kInverseLinear , kInverseSquare }
 

Public Member Functions

 OdGiLightAttenuation ()
 
void setAttenuationType (AttenuationType typ)
 
AttenuationType attenuationType () const
 
void setUseLimits (bool on)
 
bool useLimits () const
 
void setLimits (double startlim, double endlim)
 
double startLimit () const
 
double endLimit () const
 
void save (OdGsFiler *pFiler) const
 
void load (OdGsFiler *pFiler)
 

Detailed Description

Corresponding C++ library: TD_Gi <group OdGi_Classes>

Definition at line 401 of file GiLightTraits.h.

Member Enumeration Documentation

◆ AttenuationType

Enumerator
kNone 
kInverseLinear 
kInverseSquare 

Definition at line 406 of file GiLightTraits.h.

Constructor & Destructor Documentation

◆ OdGiLightAttenuation()

OdGiLightAttenuation::OdGiLightAttenuation ( )
inline

Definition at line 432 of file GiLightTraits.h.

Member Function Documentation

◆ attenuationType()

OdGiLightAttenuation::AttenuationType OdGiLightAttenuation::attenuationType ( ) const
inline

Definition at line 445 of file GiLightTraits.h.

◆ endLimit()

double OdGiLightAttenuation::endLimit ( ) const
inline

Definition at line 471 of file GiLightTraits.h.

◆ load()

void OdGiLightAttenuation::load ( OdGsFiler pFiler)
inline

Definition at line 483 of file GiLightTraits.h.

◆ save()

void OdGiLightAttenuation::save ( OdGsFiler pFiler) const
inline

Definition at line 476 of file GiLightTraits.h.

◆ setAttenuationType()

void OdGiLightAttenuation::setAttenuationType ( AttenuationType  typ)
inline

Definition at line 440 of file GiLightTraits.h.

◆ setLimits()

void OdGiLightAttenuation::setLimits ( double  startlim,
double  endlim 
)
inline

Definition at line 460 of file GiLightTraits.h.

◆ setUseLimits()

void OdGiLightAttenuation::setUseLimits ( bool  on)
inline

Definition at line 450 of file GiLightTraits.h.

◆ startLimit()

double OdGiLightAttenuation::startLimit ( ) const
inline

Definition at line 466 of file GiLightTraits.h.

◆ useLimits()

bool OdGiLightAttenuation::useLimits ( ) const
inline

Definition at line 455 of file GiLightTraits.h.


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