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 | |
LLJointState | mChestState |
F32 | mBreatheRate |
LLCharacter * | mCharacter |
Definition at line 410 of file llvoavatar.cpp.
LLBreatheMotionRot::LLBreatheMotionRot | ( | const LLUUID & | id | ) | [inline] |
virtual LLBreatheMotionRot::~LLBreatheMotionRot | ( | ) | [inline, virtual] |
Definition at line 424 of file llvoavatar.cpp.
Reimplemented from LLMotion.
Definition at line 432 of file llvoavatar.cpp.
References LLBreatheMotionRot().
Referenced by LLVOAvatar::LLVOAvatar().
virtual LLMotionBlendType LLBreatheMotionRot::getBlendType | ( | ) | [inline, virtual] |
Implements LLMotion.
Definition at line 454 of file llvoavatar.cpp.
References LLMotion::NORMAL_BLEND.
virtual F32 LLBreatheMotionRot::getDuration | ( | ) | [inline, virtual] |
virtual F32 LLBreatheMotionRot::getEaseInDuration | ( | ) | [inline, virtual] |
virtual F32 LLBreatheMotionRot::getEaseOutDuration | ( | ) | [inline, virtual] |
virtual BOOL LLBreatheMotionRot::getLoop | ( | ) | [inline, virtual] |
virtual F32 LLBreatheMotionRot::getMinPixelArea | ( | ) | [inline, virtual] |
Implements LLMotion.
Definition at line 457 of file llvoavatar.cpp.
References MIN_REQUIRED_PIXEL_AREA_BREATHE.
virtual LLJoint::JointPriority LLBreatheMotionRot::getPriority | ( | ) | [inline, virtual] |
Implements LLMotion.
Definition at line 452 of file llvoavatar.cpp.
References LLJoint::MEDIUM_PRIORITY.
virtual BOOL LLBreatheMotionRot::onActivate | ( | ) | [inline, virtual] |
virtual void LLBreatheMotionRot::onDeactivate | ( | ) | [inline, virtual] |
virtual LLMotionInitStatus LLBreatheMotionRot::onInitialize | ( | LLCharacter * | character | ) | [inline, virtual] |
Implements LLMotion.
Definition at line 462 of file llvoavatar.cpp.
References LLMotion::addJointState(), LLCharacter::getJoint(), mCharacter, mChestState, LLJointState::ROT, LLJointState::setJoint(), LLJointState::setUsage(), LLMotion::STATUS_FAILURE, and LLMotion::STATUS_SUCCESS.
Implements LLMotion.
Definition at line 493 of file llvoavatar.cpp.
References BREATHE_ROT_MOTION_STRENGTH, f, mBreatheRate, mChestState, LLJointState::setRotation(), sinf, and TRUE.