#include <llprimitive.h>
Inheritance diagram for LLLightParams:


| Public Member Functions | |
| LLLightParams () | |
| BOOL | pack (LLDataPacker &dp) const | 
| BOOL | unpack (LLDataPacker &dp) | 
| bool | operator== (const LLNetworkData &data) const | 
| void | copy (const LLNetworkData &data) | 
| void | setColor (const LLColor4 &color) | 
| void | setRadius (F32 radius) | 
| void | setFalloff (F32 falloff) | 
| void | setCutoff (F32 cutoff) | 
| LLColor4 | getColor () const | 
| F32 | getRadius () const | 
| F32 | getFalloff () const | 
| F32 | getCutoff () const | 
| Protected Attributes | |
| LLColor4 | mColor | 
| F32 | mRadius | 
| F32 | mFalloff | 
| F32 | mCutoff | 
Definition at line 130 of file llprimitive.h.
| LLLightParams::LLLightParams | ( | ) | 
Definition at line 1730 of file llprimitive.cpp.
References mColor, mCutoff, mFalloff, mRadius, LLNetworkData::mType, LLNetworkData::PARAMS_LIGHT, and LLColor4::setToWhite().
| void LLLightParams::copy | ( | const LLNetworkData & | data | ) |  [virtual] | 
Implements LLNetworkData.
Definition at line 1788 of file llprimitive.cpp.
References mColor, mCutoff, mFalloff, mRadius, LLNetworkData::mType, and param.
| LLColor4 LLLightParams::getColor | ( | ) | const  [inline] | 
Definition at line 150 of file llprimitive.h.
References mColor.
Referenced by LLVOVolume::getLightBaseColor(), LLVOVolume::getLightColor(), LLVOVolume::getLightIntensity(), LLVOVolume::setLightColor(), and LLVOVolume::setLightIntensity().
| F32 LLLightParams::getCutoff | ( | ) | const  [inline] | 
Definition at line 153 of file llprimitive.h.
References mCutoff.
Referenced by LLVOVolume::getLightCutoff(), and LLVOVolume::setLightCutoff().
| F32 LLLightParams::getFalloff | ( | ) | const  [inline] | 
Definition at line 152 of file llprimitive.h.
References mFalloff.
Referenced by LLVOVolume::getLightFalloff(), and LLVOVolume::setLightFalloff().
| F32 LLLightParams::getRadius | ( | ) | const  [inline] | 
Definition at line 151 of file llprimitive.h.
References mRadius.
Referenced by LLVOVolume::getLightRadius(), and LLVOVolume::setLightRadius().
| bool LLLightParams::operator== | ( | const LLNetworkData & | data | ) | const  [virtual] | 
Implements LLNetworkData.
Definition at line 1771 of file llprimitive.cpp.
References mColor, mCutoff, mFalloff, mRadius, LLNetworkData::mType, param, and LLNetworkData::PARAMS_LIGHT.
| BOOL LLLightParams::pack | ( | LLDataPacker & | dp | ) | const  [virtual] | 
Implements LLNetworkData.
Definition at line 1740 of file llprimitive.cpp.
References mColor, mCutoff, mFalloff, mRadius, LLDataPacker::packColor4U(), LLDataPacker::packF32(), and TRUE.
Definition at line 145 of file llprimitive.h.
References LLColor4::clamp(), and mColor.
Referenced by LLVOVolume::setLightColor(), LLVOVolume::setLightIntensity(), and unpack().
Definition at line 148 of file llprimitive.h.
References LIGHT_MAX_CUTOFF, LIGHT_MIN_CUTOFF, llclamp(), and mCutoff.
Referenced by LLVOVolume::setLightCutoff(), and unpack().
Definition at line 147 of file llprimitive.h.
References LIGHT_MAX_FALLOFF, LIGHT_MIN_FALLOFF, llclamp(), and mFalloff.
Referenced by LLVOVolume::setLightFalloff(), and unpack().
Definition at line 146 of file llprimitive.h.
References LIGHT_MAX_RADIUS, LIGHT_MIN_RADIUS, llclamp(), and mRadius.
Referenced by LLVOVolume::setLightRadius(), and unpack().
| BOOL LLLightParams::unpack | ( | LLDataPacker & | dp | ) |  [virtual] | 
Implements LLNetworkData.
Definition at line 1750 of file llprimitive.cpp.
References setColor(), setCutoff(), setFalloff(), setRadius(), TRUE, LLDataPacker::unpackColor4U(), and LLDataPacker::unpackF32().
| LLColor4 LLLightParams::mColor  [protected] | 
Definition at line 133 of file llprimitive.h.
Referenced by copy(), getColor(), LLLightParams(), operator==(), pack(), and setColor().
| F32 LLLightParams::mCutoff  [protected] | 
Definition at line 136 of file llprimitive.h.
Referenced by copy(), getCutoff(), LLLightParams(), operator==(), pack(), and setCutoff().
| F32 LLLightParams::mFalloff  [protected] | 
Definition at line 135 of file llprimitive.h.
Referenced by copy(), getFalloff(), LLLightParams(), operator==(), pack(), and setFalloff().
| F32 LLLightParams::mRadius  [protected] | 
Definition at line 134 of file llprimitive.h.
Referenced by copy(), getRadius(), LLLightParams(), operator==(), pack(), and setRadius().
 1.4.7
 1.4.7