#include <llviewerpartsource.h>
Public Member Functions | |
LLViewerPartSourceSpiral (const LLVector3 &pos) | |
void | setDead () |
void | update (const F32 dt) |
void | setSourceObject (LLViewerObject *objp) |
void | setColor (const LLColor4 &color) |
Static Public Member Functions | |
static void | updatePart (LLViewerPart &part, const F32 dt) |
Public Attributes | |
LLColor4 | mColor |
Protected Attributes | |
LLVector3d | mLKGSourcePosGlobal |
Definition at line 141 of file llviewerpartsource.h.
LLViewerPartSourceSpiral::LLViewerPartSourceSpiral | ( | const LLVector3 & | pos | ) |
void LLViewerPartSourceSpiral::setDead | ( | ) | [virtual] |
Reimplemented from LLViewerPartSource.
Definition at line 510 of file llviewerpartsource.cpp.
References LLViewerPartSource::mIsDead, LLViewerPartSource::mSourceObjectp, LLMemType::MTYPE_PARTICLES, NULL, and TRUE.
void LLViewerPartSourceSpiral::update | ( | const F32 | dt | ) | [virtual] |
Reimplemented from LLViewerPartSource.
Definition at line 543 of file llviewerpartsource.cpp.
References LLViewerPartSim::addPart(), F_TWO_PI, LLViewerImageList::getImageFromFile(), LLSingleton< LLViewerPartSim >::getInstance(), gImageList, LLPointer< Type >::isNull(), ll_frand(), LLPartData::LL_PART_INTERP_COLOR_MASK, llmax(), llmin(), mColor, LLViewerPartSource::mImagep, LLViewerPartSource::mLastPartTime, LLViewerPartSource::mLastUpdateTime, LLViewerPartSource::mPosAgent, LLViewerPartSource::mSourceObjectp, LLMemType::MTYPE_PARTICLES, and updatePart().
void LLViewerPartSourceSpiral::setSourceObject | ( | LLViewerObject * | objp | ) |
Definition at line 589 of file llviewerpartsource.cpp.
References LLViewerPartSource::mSourceObjectp, and LLMemType::MTYPE_PARTICLES.
Referenced by LLHUDEffectSpiral::triggerLocal().
void LLViewerPartSourceSpiral::setColor | ( | const LLColor4 & | color | ) |
void LLViewerPartSourceSpiral::updatePart | ( | LLViewerPart & | part, | |
const F32 | dt | |||
) | [static] |
Reimplemented from LLViewerPartSource.
Definition at line 518 of file llviewerpartsource.cpp.
References F_TWO_PI, LLPointer< Type >::get(), LLPointer< Type >::isNull(), LLViewerPart::mLastUpdateTime, LLPartData::mMaxAge, LLPartData::mParameter, LLViewerPart::mPartSourcep, LLViewerPartSource::mPosAgent, LLViewerPart::mPosAgent, LLViewerPartSource::mSourceObjectp, LLMemType::MTYPE_PARTICLES, LLVector3::mV, VX, VY, and VZ.
Referenced by update().
Definition at line 156 of file llviewerpartsource.h.