#include <llviewerpartsource.h>
Inheritance diagram for LLViewerPartSourceBeam:
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 162 of file llviewerpartsource.h.
LLViewerPartSourceBeam::LLViewerPartSourceBeam | ( | ) |
Definition at line 526 of file llviewerpartsource.cpp.
LLViewerPartSourceBeam::~LLViewerPartSourceBeam | ( | ) | [protected] |
Definition at line 531 of file llviewerpartsource.cpp.
void LLViewerPartSourceBeam::setDead | ( | ) | [virtual] |
Reimplemented from LLViewerPartSource.
Definition at line 535 of file llviewerpartsource.cpp.
References LLViewerPartSource::mIsDead, LLViewerPartSource::mSourceObjectp, mTargetObjectp, LLMemType::MTYPE_PARTICLES, NULL, and TRUE.
void LLViewerPartSourceBeam::setSourceObject | ( | LLViewerObject * | objp | ) |
Definition at line 668 of file llviewerpartsource.cpp.
References LLViewerPartSource::mSourceObjectp, and LLMemType::MTYPE_PARTICLES.
void LLViewerPartSourceBeam::setSourcePosGlobal | ( | const LLVector3d & | pos_global | ) |
void LLViewerPartSourceBeam::setTargetObject | ( | LLViewerObject * | objp | ) |
Definition at line 674 of file llviewerpartsource.cpp.
References mTargetObjectp, and LLMemType::MTYPE_PARTICLES.
void LLViewerPartSourceBeam::setTargetPosGlobal | ( | const LLVector3d & | pos_global | ) |
Reimplemented from LLViewerPartSource.
Definition at line 594 of file llviewerpartsource.cpp.
References f, gAgent, LLViewerImageList::getImage(), LLAgent::getPosAgentFromGlobal(), LLControlGroup::getString(), LLJoint::getWorldPosition(), gImageList, gViewerArt, gWorldPointer, 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::updatePart | ( | LLViewerPart & | part, | |
const F32 | dt | |||
) | [static] |
Reimplemented from LLViewerPartSource.
Definition at line 549 of file llviewerpartsource.cpp.
References gAgent, LLAgent::getPosAgentFromGlobal(), LLPartData::LL_PART_DEAD_MASK, LLPartData::mFlags, LLViewerPart::mLastUpdateTime, LLPartData::mMaxAge, LLViewerPart::mPartSourcep, LLViewerPart::mPosAgent, and LLMemType::MTYPE_PARTICLES.
Definition at line 178 of file llviewerpartsource.h.
Referenced by setDead(), setTargetObject(), and update().