#include <lltexlayer.h>
Collaboration diagram for LLTexGlobalColor:
Public Member Functions | |
LLTexGlobalColor (LLVOAvatar *avatar) | |
~LLTexGlobalColor () | |
LLTexGlobalColorInfo * | getInfo () const |
BOOL | setInfo (LLTexGlobalColorInfo *info) |
void | requstUpdate () |
LLVOAvatar * | getAvatar () |
LLColor4 | getColor () |
const std::string & | getName () |
Protected Types | |
typedef std::vector< LLTexParamColor * > | param_list_t |
Protected Attributes | |
param_list_t | mParamList |
LLVOAvatar * | mAvatar |
LLTexGlobalColorInfo * | mInfo |
Definition at line 431 of file lltexlayer.h.
typedef std::vector<LLTexParamColor *> LLTexGlobalColor::param_list_t [protected] |
Definition at line 448 of file lltexlayer.h.
LLTexGlobalColor::LLTexGlobalColor | ( | LLVOAvatar * | avatar | ) |
Definition at line 2176 of file lltexlayer.cpp.
LLTexGlobalColor::~LLTexGlobalColor | ( | ) |
Definition at line 2184 of file lltexlayer.cpp.
LLVOAvatar* LLTexGlobalColor::getAvatar | ( | ) | [inline] |
LLColor4 LLTexGlobalColor::getColor | ( | ) |
Definition at line 2214 of file lltexlayer.cpp.
References f, lerp(), llassert, llclampf(), mParamList, LLColor4::mV, OP_ADD, OP_BLEND, OP_MULTIPLY, param, VW, VX, VY, and VZ.
Referenced by LLVOAvatar::getGlobalColor(), LLVOAvatar::onGlobalColorChanged(), LLVOAvatar::updateMeshTextures(), and LLVOAvatar::writeCAL3D().
LLTexGlobalColorInfo* LLTexGlobalColor::getInfo | ( | ) | const [inline] |
const std::string& LLTexGlobalColor::getName | ( | void | ) | [inline] |
void LLTexGlobalColor::requstUpdate | ( | ) |
BOOL LLTexGlobalColor::setInfo | ( | LLTexGlobalColorInfo * | info | ) |
Definition at line 2190 of file lltexlayer.cpp.
References FALSE, llassert, LLTexGlobalColorInfo::mColorInfoList, mInfo, mParamList, NULL, and TRUE.
Referenced by LLVOAvatar::loadAvatar().
LLVOAvatar* LLTexGlobalColor::mAvatar [protected] |
LLTexGlobalColorInfo* LLTexGlobalColor::mInfo [protected] |
param_list_t LLTexGlobalColor::mParamList [protected] |