Public Member Functions | |
LLBodyNoiseMotion (const LLUUID &id) | |
virtual | ~LLBodyNoiseMotion () |
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 | mTorsoState |
Definition at line 310 of file llvoavatar.cpp.
LLBodyNoiseMotion::LLBodyNoiseMotion | ( | const LLUUID & | id | ) | [inline] |
virtual LLBodyNoiseMotion::~LLBodyNoiseMotion | ( | ) | [inline, virtual] |
Definition at line 318 of file llvoavatar.cpp.
Reimplemented from LLMotion.
Definition at line 326 of file llvoavatar.cpp.
References LLBodyNoiseMotion().
Referenced by LLVOAvatar::LLVOAvatar().
virtual LLMotionBlendType LLBodyNoiseMotion::getBlendType | ( | ) | [inline, virtual] |
Implements LLMotion.
Definition at line 348 of file llvoavatar.cpp.
References LLMotion::ADDITIVE_BLEND.
virtual F32 LLBodyNoiseMotion::getDuration | ( | ) | [inline, virtual] |
virtual F32 LLBodyNoiseMotion::getEaseInDuration | ( | ) | [inline, virtual] |
virtual F32 LLBodyNoiseMotion::getEaseOutDuration | ( | ) | [inline, virtual] |
virtual BOOL LLBodyNoiseMotion::getLoop | ( | ) | [inline, virtual] |
virtual F32 LLBodyNoiseMotion::getMinPixelArea | ( | ) | [inline, virtual] |
Implements LLMotion.
Definition at line 351 of file llvoavatar.cpp.
References MIN_REQUIRED_PIXEL_AREA_BODY_NOISE.
virtual LLJoint::JointPriority LLBodyNoiseMotion::getPriority | ( | ) | [inline, virtual] |
Implements LLMotion.
Definition at line 346 of file llvoavatar.cpp.
References LLJoint::HIGH_PRIORITY.
virtual BOOL LLBodyNoiseMotion::onActivate | ( | ) | [inline, virtual] |
virtual void LLBodyNoiseMotion::onDeactivate | ( | ) | [inline, virtual] |
virtual LLMotionInitStatus LLBodyNoiseMotion::onInitialize | ( | LLCharacter * | character | ) | [inline, virtual] |
Implements LLMotion.
Definition at line 356 of file llvoavatar.cpp.
References LLMotion::addJointState(), LLCharacter::getJoint(), mTorsoState, LLJointState::ROT, LLJointState::setJoint(), LLJointState::setUsage(), LLMotion::STATUS_FAILURE, and LLMotion::STATUS_SUCCESS.
Implements LLMotion.
Definition at line 377 of file llvoavatar.cpp.
References DEG_TO_RAD, f, mTorsoState, noise2(), nx, ny, LLQuaternion::setQuat(), LLJointState::setRotation(), TORSO_NOISE_AMOUNT, TORSO_NOISE_SPEED, and TRUE.