#include <llviewerpartsource.h>
Inheritance diagram for LLViewerPartSourceSpiral:
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 138 of file llviewerpartsource.h.
LLViewerPartSourceSpiral::LLViewerPartSourceSpiral | ( | const LLVector3 & | pos | ) |
void LLViewerPartSourceSpiral::setDead | ( | ) | [virtual] |
Reimplemented from LLViewerPartSource.
Definition at line 430 of file llviewerpartsource.cpp.
References LLViewerPartSource::mIsDead, LLViewerPartSource::mSourceObjectp, LLMemType::MTYPE_PARTICLES, NULL, and TRUE.
void LLViewerPartSourceSpiral::setSourceObject | ( | LLViewerObject * | objp | ) |
Definition at line 511 of file llviewerpartsource.cpp.
References LLViewerPartSource::mSourceObjectp, and LLMemType::MTYPE_PARTICLES.
Referenced by LLHUDEffectSpiral::triggerLocal().
Reimplemented from LLViewerPartSource.
Definition at line 463 of file llviewerpartsource.cpp.
References f, F_TWO_PI, LLViewerImageList::getImage(), LLControlGroup::getString(), gImageList, gViewerArt, gWorldPointer, 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::updatePart | ( | LLViewerPart & | part, | |
const F32 | dt | |||
) | [static] |
Reimplemented from LLViewerPartSource.
Definition at line 438 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, VZ, x, and y.
Referenced by update().
Definition at line 153 of file llviewerpartsource.h.