Public Member Functions | |
LLBreatheMotionRot (const LLUUID &id) | |
virtual | ~LLBreatheMotionRot () |
virtual BOOL | getLoop () |
virtual F32 | getDuration () |
virtual F32 | getEaseInDuration () |
virtual F32 | getEaseOutDuration () |
virtual LLJoint::JointPriority | getPriority () |
virtual LLMotionBlendType | getBlendType () |
virtual F32 | getMinPixelArea () |
virtual LLMotionInitStatus | onInitialize (LLCharacter *character) |
virtual BOOL | onActivate () |
virtual BOOL | onUpdate (F32 time, U8 *joint_mask) |
virtual void | onDeactivate () |
Static Public Member Functions | |
static LLMotion * | create (const LLUUID &id) |
Public Attributes | |
LLPointer< LLJointState > | mChestState |
F32 | mBreatheRate |
LLCharacter * | mCharacter |
Definition at line 412 of file llvoavatar.cpp.
LLBreatheMotionRot::LLBreatheMotionRot | ( | const LLUUID & | id | ) | [inline] |
Definition at line 417 of file llvoavatar.cpp.
References mChestState, and LLMotion::mName.
Referenced by create().
virtual LLBreatheMotionRot::~LLBreatheMotionRot | ( | ) | [inline, virtual] |
Definition at line 428 of file llvoavatar.cpp.
Reimplemented from LLMotion.
Definition at line 436 of file llvoavatar.cpp.
References LLBreatheMotionRot().
Referenced by LLVOAvatar::LLVOAvatar().
virtual BOOL LLBreatheMotionRot::getLoop | ( | ) | [inline, virtual] |
virtual F32 LLBreatheMotionRot::getDuration | ( | ) | [inline, virtual] |
virtual F32 LLBreatheMotionRot::getEaseInDuration | ( | ) | [inline, virtual] |
virtual F32 LLBreatheMotionRot::getEaseOutDuration | ( | ) | [inline, virtual] |
virtual LLJoint::JointPriority LLBreatheMotionRot::getPriority | ( | ) | [inline, virtual] |
Implements LLMotion.
Definition at line 456 of file llvoavatar.cpp.
References LLJoint::MEDIUM_PRIORITY.
virtual LLMotionBlendType LLBreatheMotionRot::getBlendType | ( | ) | [inline, virtual] |
Implements LLMotion.
Definition at line 458 of file llvoavatar.cpp.
References LLMotion::NORMAL_BLEND.
virtual F32 LLBreatheMotionRot::getMinPixelArea | ( | ) | [inline, virtual] |
Implements LLMotion.
Definition at line 461 of file llvoavatar.cpp.
References MIN_REQUIRED_PIXEL_AREA_BREATHE.
virtual LLMotionInitStatus LLBreatheMotionRot::onInitialize | ( | LLCharacter * | character | ) | [inline, virtual] |
Implements LLMotion.
Definition at line 466 of file llvoavatar.cpp.
References LLMotion::addJointState(), LLCharacter::getJoint(), mCharacter, mChestState, LLJointState::ROT, LLMotion::STATUS_FAILURE, and LLMotion::STATUS_SUCCESS.
virtual BOOL LLBreatheMotionRot::onActivate | ( | ) | [inline, virtual] |
Implements LLMotion.
Definition at line 497 of file llvoavatar.cpp.
References BREATHE_ROT_MOTION_STRENGTH, mBreatheRate, mChestState, sinf, and TRUE.
virtual void LLBreatheMotionRot::onDeactivate | ( | ) | [inline, virtual] |
Definition at line 515 of file llvoavatar.cpp.
Referenced by LLBreatheMotionRot(), onInitialize(), and onUpdate().