#include <llkeyframewalkmotion.h>
Inheritance diagram for LLFlyAdjustMotion:
Public Member Functions | |
LLFlyAdjustMotion (const LLUUID &id) | |
virtual LLMotionInitStatus | onInitialize (LLCharacter *character) |
virtual BOOL | onActivate () |
virtual void | onDeactivate () |
virtual BOOL | onUpdate (F32 time, U8 *joint_mask) |
virtual LLJoint::JointPriority | getPriority () |
virtual BOOL | getLoop () |
virtual F32 | getDuration () |
virtual F32 | getEaseInDuration () |
virtual F32 | getEaseOutDuration () |
virtual F32 | getMinPixelArea () |
virtual LLMotionBlendType | getBlendType () |
Static Public Member Functions | |
static LLMotion * | create (const LLUUID &id) |
Protected Attributes | |
LLCharacter * | mCharacter |
LLJointState | mPelvisState |
F32 | mRoll |
Definition at line 140 of file llkeyframewalkmotion.h.
LLFlyAdjustMotion::LLFlyAdjustMotion | ( | const LLUUID & | id | ) | [inline] |
Definition at line 144 of file llkeyframewalkmotion.h.
References LLMotion::mName.
Referenced by create().
Reimplemented from LLMotion.
Definition at line 153 of file llkeyframewalkmotion.h.
References LLFlyAdjustMotion().
Referenced by LLVOAvatar::LLVOAvatar().
virtual LLMotionBlendType LLFlyAdjustMotion::getBlendType | ( | ) | [inline, virtual] |
Implements LLMotion.
Definition at line 169 of file llkeyframewalkmotion.h.
References LLMotion::ADDITIVE_BLEND.
virtual F32 LLFlyAdjustMotion::getDuration | ( | ) | [inline, virtual] |
virtual F32 LLFlyAdjustMotion::getEaseInDuration | ( | ) | [inline, virtual] |
virtual F32 LLFlyAdjustMotion::getEaseOutDuration | ( | ) | [inline, virtual] |
virtual BOOL LLFlyAdjustMotion::getLoop | ( | ) | [inline, virtual] |
virtual F32 LLFlyAdjustMotion::getMinPixelArea | ( | ) | [inline, virtual] |
Implements LLMotion.
Definition at line 168 of file llkeyframewalkmotion.h.
References MIN_REQUIRED_PIXEL_AREA_FLY_ADJUST.
virtual LLJoint::JointPriority LLFlyAdjustMotion::getPriority | ( | ) | [inline, virtual] |
Implements LLMotion.
Definition at line 163 of file llkeyframewalkmotion.h.
References LLJoint::HIGHER_PRIORITY.
BOOL LLFlyAdjustMotion::onActivate | ( | ) | [virtual] |
Implements LLMotion.
Definition at line 370 of file llkeyframewalkmotion.cpp.
References LLQuaternion::DEFAULT, mPelvisState, mRoll, LLJointState::setPosition(), LLJointState::setRotation(), TRUE, and LLVector3::zero.
virtual void LLFlyAdjustMotion::onDeactivate | ( | ) | [inline, virtual] |
LLMotion::LLMotionInitStatus LLFlyAdjustMotion::onInitialize | ( | LLCharacter * | character | ) | [virtual] |
Implements LLMotion.
Definition at line 349 of file llkeyframewalkmotion.cpp.
References LLMotion::addJointState(), LLCharacter::getJoint(), LLMotion::getName(), llendl, llwarns, mCharacter, mPelvisState, LLJointState::POS, LLJointState::ROT, LLJointState::setJoint(), LLJointState::setUsage(), LLMotion::STATUS_FAILURE, and LLMotion::STATUS_SUCCESS.
Implements LLMotion.
Definition at line 381 of file llkeyframewalkmotion.cpp.
References clamp_rescale(), f, LLCharacter::getCharacterAngularVelocity(), LLCharacter::getCharacterVelocity(), LLCriticalDamp::getInterpolant(), LLCharacter::getTimeDilation(), lerp(), llclamp(), LLVector3::magVec(), MAX_ROLL, mCharacter, mPelvisState, mRoll, LLVector3::mV, LLJointState::setRotation(), TRUE, and VZ.
LLCharacter* LLFlyAdjustMotion::mCharacter [protected] |
Definition at line 175 of file llkeyframewalkmotion.h.
Referenced by onInitialize(), and onUpdate().
LLJointState LLFlyAdjustMotion::mPelvisState [protected] |
Definition at line 176 of file llkeyframewalkmotion.h.
Referenced by onActivate(), onInitialize(), and onUpdate().
F32 LLFlyAdjustMotion::mRoll [protected] |