#include <llpartdata.h>
Definition at line 82 of file llpartdata.h.
anonymous enum |
Definition at line 98 of file llpartdata.h.
LLPartData::LLPartData | ( | ) | [inline] |
Definition at line 85 of file llpartdata.h.
BOOL LLPartData::unpack | ( | LLDataPacker & | dp | ) |
Definition at line 89 of file llpartdata.cpp.
References FALSE, mEndColor, mEndScale, mFlags, mMaxAge, mStartColor, mStartScale, LLVector2::mV, LLColor4::setVec(), TRUE, LLDataPacker::unpackColor4U(), LLDataPacker::unpackFixed(), and LLDataPacker::unpackU32().
Referenced by LLPartSysData::unpack().
BOOL LLPartData::pack | ( | LLDataPacker & | dp | ) |
Definition at line 49 of file llpartdata.cpp.
References FALSE, mEndColor, mEndScale, mFlags, mMaxAge, mStartColor, mStartScale, LLVector2::mV, LLDataPacker::packColor4U(), LLDataPacker::packFixed(), LLDataPacker::packU32(), LLColor4U::setVec(), and TRUE.
Referenced by LLPartSysData::pack().
LLSD LLPartData::asLLSD | ( | ) | const |
Definition at line 65 of file llpartdata.cpp.
References ll_sd_from_color4(), ll_sd_from_U32(), ll_sd_from_vector2(), mEndColor, mEndScale, mFlags, mMaxAge, mStartColor, mStartScale, and tut::sd().
Referenced by operator LLSD().
LLPartData::operator LLSD | ( | ) | const [inline] |
Definition at line 94 of file llpartdata.h.
References asLLSD().
bool LLPartData::fromLLSD | ( | LLSD & | sd | ) |
Definition at line 77 of file llpartdata.cpp.
References ll_color4_from_sd(), ll_U32_from_sd(), ll_vector2_from_sd(), mEndColor, mEndScale, mFlags, mMaxAge, mStartColor, and mStartScale.
void LLPartData::setFlags | ( | const U32 | flags | ) |
void LLPartData::setMaxAge | ( | const F32 | max_age | ) |
Definition at line 114 of file llpartdata.cpp.
References llclamp(), and mMaxAge.
Definition at line 120 of file llpartdata.cpp.
References llmin(), MAX_PART_SCALE, mStartScale, LLVector2::mV, VX, and VY.
Definition at line 127 of file llpartdata.cpp.
References llmin(), MAX_PART_SCALE, mEndScale, LLVector2::mV, VX, and VY.
void LLPartData::setStartColor | ( | const LLVector3 & | rgb | ) |
Definition at line 134 of file llpartdata.cpp.
References mStartColor, LLVector3::mV, and LLColor4::setVec().
void LLPartData::setEndColor | ( | const LLVector3 & | rgb | ) |
Definition at line 140 of file llpartdata.cpp.
References mEndColor, LLVector3::mV, and LLColor4::setVec().
void LLPartData::setStartAlpha | ( | const F32 | alpha | ) |
void LLPartData::setEndAlpha | ( | const F32 | alpha | ) |
friend class LLPartSysData [friend] |
Definition at line 130 of file llpartdata.h.
friend class LLViewerPartSourceScript [friend] |
Definition at line 131 of file llpartdata.h.
Definition at line 135 of file llpartdata.h.
Referenced by LLViewerPartGroup::addPart(), asLLSD(), fromLLSD(), LLVOPartGroup::getGeometry(), LLVOAvatar::idleUpdate(), LLViewerPart::init(), LLPartSysData::LLPartSysData(), pack(), LLViewerPartSim::put(), setFlags(), unpack(), LLViewerPartSourceScript::update(), LLVOPartGroup::updateGeometry(), LLViewerPartSourceBeam::updatePart(), and LLViewerPartGroup::updateParticles().
Definition at line 136 of file llpartdata.h.
Referenced by asLLSD(), fromLLSD(), LLVOAvatar::idleUpdate(), LLViewerPart::init(), LLPartSysData::LLPartSysData(), pack(), setMaxAge(), unpack(), LLViewerPartSourceScript::update(), LLViewerPartSourceChat::updatePart(), LLViewerPartSourceBeam::updatePart(), LLViewerPartSourceSpiral::updatePart(), and LLViewerPartGroup::updateParticles().
Definition at line 137 of file llpartdata.h.
Referenced by asLLSD(), fromLLSD(), LLVOAvatar::idleUpdate(), LLPartSysData::LLPartSysData(), pack(), setStartAlpha(), setStartColor(), unpack(), LLViewerPartSourceScript::update(), and LLViewerPartGroup::updateParticles().
Definition at line 138 of file llpartdata.h.
Referenced by asLLSD(), fromLLSD(), LLVOAvatar::idleUpdate(), LLPartSysData::LLPartSysData(), pack(), setEndAlpha(), setEndColor(), unpack(), LLViewerPartSourceScript::update(), and LLViewerPartGroup::updateParticles().
Definition at line 139 of file llpartdata.h.
Referenced by asLLSD(), fromLLSD(), LLVOAvatar::idleUpdate(), LLPartSysData::LLPartSysData(), pack(), setStartScale(), unpack(), LLViewerPartSourceScript::update(), and LLViewerPartGroup::updateParticles().
Definition at line 140 of file llpartdata.h.
Referenced by asLLSD(), fromLLSD(), LLVOAvatar::idleUpdate(), LLPartSysData::LLPartSysData(), pack(), setEndScale(), unpack(), LLViewerPartSourceScript::update(), and LLViewerPartGroup::updateParticles().
Definition at line 143 of file llpartdata.h.
Referenced by LLViewerPartSourceChat::updatePart(), and LLViewerPartSourceSpiral::updatePart().