#include <llviewerpartsource.h>


Public Member Functions | |
| LLViewerPartSourceBeam () | |
| void | setDead () |
| void | update (const F32 dt) |
| void | setSourceObject (LLViewerObject *objp) |
| void | setTargetObject (LLViewerObject *objp) |
| void | setSourcePosGlobal (const LLVector3d &pos_global) |
| void | setTargetPosGlobal (const LLVector3d &pos_global) |
| void | setColor (const LLColor4 &color) |
Static Public Member Functions | |
| static void | updatePart (LLViewerPart &part, const F32 dt) |
Public Attributes | |
| LLPointer< LLViewerObject > | mTargetObjectp |
| LLVector3d | mLKGTargetPosGlobal |
| LLColor4 | mColor |
Protected Member Functions | |
| ~LLViewerPartSourceBeam () | |
Definition at line 165 of file llviewerpartsource.h.
| LLViewerPartSourceBeam::LLViewerPartSourceBeam | ( | ) |
Definition at line 604 of file llviewerpartsource.cpp.
| LLViewerPartSourceBeam::~LLViewerPartSourceBeam | ( | ) | [protected] |
Definition at line 609 of file llviewerpartsource.cpp.
| void LLViewerPartSourceBeam::setDead | ( | ) | [virtual] |
Reimplemented from LLViewerPartSource.
Definition at line 613 of file llviewerpartsource.cpp.
References LLViewerPartSource::mIsDead, LLViewerPartSource::mSourceObjectp, mTargetObjectp, LLMemType::MTYPE_PARTICLES, NULL, and TRUE.
| void LLViewerPartSourceBeam::update | ( | const F32 | dt | ) | [virtual] |
Reimplemented from LLViewerPartSource.
Definition at line 672 of file llviewerpartsource.cpp.
References LLViewerPartSim::addPart(), gAgent, LLViewerImageList::getImageFromFile(), LLSingleton< LLViewerPartSim >::getInstance(), LLAgent::getPosAgentFromGlobal(), LLJoint::getWorldPosition(), gImageList, LLVector3d::isExactlyZero(), LLPointer< Type >::isNull(), LLPartData::LL_PART_FOLLOW_VELOCITY_MASK, LLPartData::LL_PART_INTERP_COLOR_MASK, LLPartData::LL_PART_INTERP_SCALE_MASK, LLPartData::LL_PART_TARGET_POS_MASK, llmax(), llmin(), mColor, LLViewerPartSource::mImagep, LLViewerPartSource::mLastPartTime, LLViewerPartSource::mLastUpdateTime, mLKGTargetPosGlobal, LLViewerPartSource::mPosAgent, LLViewerPartSource::mSourceObjectp, mTargetObjectp, LLViewerPartSource::mTargetPosAgent, LLMemType::MTYPE_PARTICLES, LLVOAvatar::mWristLeftp, and NULL.

| void LLViewerPartSourceBeam::setSourceObject | ( | LLViewerObject * | objp | ) |
Definition at line 744 of file llviewerpartsource.cpp.
References LLViewerPartSource::mSourceObjectp, and LLMemType::MTYPE_PARTICLES.
Referenced by LLHUDEffectSpiral::triggerLocal().

| void LLViewerPartSourceBeam::setTargetObject | ( | LLViewerObject * | objp | ) |
Definition at line 750 of file llviewerpartsource.cpp.
References mTargetObjectp, and LLMemType::MTYPE_PARTICLES.
Referenced by LLHUDEffectSpiral::triggerLocal().

| void LLViewerPartSourceBeam::setSourcePosGlobal | ( | const LLVector3d & | pos_global | ) |
| void LLViewerPartSourceBeam::setTargetPosGlobal | ( | const LLVector3d & | pos_global | ) |
| void LLViewerPartSourceBeam::setColor | ( | const LLColor4 & | color | ) |
Definition at line 621 of file llviewerpartsource.cpp.
References mColor.
Referenced by LLHUDEffectSpiral::triggerLocal().

| void LLViewerPartSourceBeam::updatePart | ( | LLViewerPart & | part, | |
| const F32 | dt | |||
| ) | [static] |
Reimplemented from LLViewerPartSource.
Definition at line 627 of file llviewerpartsource.cpp.
References gAgent, LLAgent::getPosAgentFromGlobal(), LLJoint::getWorldPosition(), LLPartData::LL_PART_DEAD_MASK, LLPartData::mFlags, LLViewerPart::mLastUpdateTime, LLPartData::mMaxAge, LLViewerPart::mPartSourcep, LLViewerPart::mPosAgent, LLMemType::MTYPE_PARTICLES, and LLVOAvatar::mWristLeftp.

Definition at line 181 of file llviewerpartsource.h.
Referenced by setDead(), setTargetObject(), and update().
Definition at line 182 of file llviewerpartsource.h.
Referenced by LLHUDEffectSpiral::triggerLocal(), and update().
1.5.5