#include <llemote.h>
Inheritance diagram for LLEmote:
Public Member Functions | |
LLEmote (const LLUUID &id) | |
virtual | ~LLEmote () |
virtual BOOL | getLoop () |
virtual F32 | getDuration () |
virtual F32 | getEaseInDuration () |
virtual F32 | getEaseOutDuration () |
virtual F32 | getMinPixelArea () |
virtual LLJoint::JointPriority | getPriority () |
virtual LLMotionBlendType | getBlendType () |
virtual LLMotionInitStatus | onInitialize (LLCharacter *character) |
virtual BOOL | onActivate () |
virtual BOOL | onUpdate (F32 time, U8 *joint_mask) |
virtual void | onDeactivate () |
virtual BOOL | canDeprecate () |
Static Public Member Functions | |
static LLMotion * | create (const LLUUID &id) |
static BOOL | getIndexFromName (const char *name, U32 *index) |
Protected Attributes | |
LLCharacter * | mCharacter |
LLVisualParam * | mParam |
Definition at line 52 of file llemote.h.
LLEmote::LLEmote | ( | const LLUUID & | id | ) |
Definition at line 51 of file llemote.cpp.
References LL_FACE_JOINT_NUM, mCharacter, LLMotion::mJointSignature, and NULL.
Referenced by create().
LLEmote::~LLEmote | ( | ) | [virtual] |
Definition at line 66 of file llemote.cpp.
virtual BOOL LLEmote::canDeprecate | ( | ) | [inline, virtual] |
Reimplemented from LLMotion.
Definition at line 69 of file llemote.h.
References LLEmote().
Referenced by LLVOAvatar::LLVOAvatar().
virtual LLMotionBlendType LLEmote::getBlendType | ( | ) | [inline, virtual] |
virtual F32 LLEmote::getDuration | ( | ) | [inline, virtual] |
Implements LLMotion.
Definition at line 80 of file llemote.h.
References EMOTE_MORPH_FADEIN_TIME, EMOTE_MORPH_FADEOUT_TIME, and EMOTE_MORPH_IN_TIME.
virtual F32 LLEmote::getEaseInDuration | ( | ) | [inline, virtual] |
virtual F32 LLEmote::getEaseOutDuration | ( | ) | [inline, virtual] |
virtual BOOL LLEmote::getLoop | ( | ) | [inline, virtual] |
virtual F32 LLEmote::getMinPixelArea | ( | ) | [inline, virtual] |
Implements LLMotion.
Definition at line 89 of file llemote.h.
References MIN_REQUIRED_PIXEL_AREA_EMOTE.
virtual LLJoint::JointPriority LLEmote::getPriority | ( | ) | [inline, virtual] |
BOOL LLEmote::onActivate | ( | ) | [virtual] |
Implements LLMotion.
Definition at line 83 of file llemote.cpp.
References f, FALSE, LLVisualParam::getMaxWeight(), LLCharacter::getVisualParam(), mCharacter, LLMotion::mName, mParam, LLVisualParam::setWeight(), TRUE, and LLCharacter::updateVisualParams().
void LLEmote::onDeactivate | ( | ) | [virtual] |
Implements LLMotion.
Definition at line 132 of file llemote.cpp.
References FALSE, LLVisualParam::getDefaultWeight(), LLVisualParam::getMaxWeight(), LLCharacter::getVisualParam(), mCharacter, mParam, LLVisualParam::setWeight(), and LLCharacter::updateVisualParams().
LLMotion::LLMotionInitStatus LLEmote::onInitialize | ( | LLCharacter * | character | ) | [virtual] |
Implements LLMotion.
Definition at line 73 of file llemote.cpp.
References mCharacter, and LLMotion::STATUS_SUCCESS.
Implements LLMotion.
Definition at line 105 of file llemote.cpp.
References FALSE, LLVisualParam::getMaxWeight(), LLVisualParam::getMinWeight(), LLCharacter::getVisualParam(), LLPose::getWeight(), mCharacter, mParam, LLMotion::mPose, LLVisualParam::setWeight(), TRUE, and LLCharacter::updateVisualParams().
LLCharacter* LLEmote::mCharacter [protected] |
Definition at line 120 of file llemote.h.
Referenced by LLEmote(), onActivate(), onDeactivate(), onInitialize(), and onUpdate().
LLVisualParam* LLEmote::mParam [protected] |
Definition at line 122 of file llemote.h.
Referenced by onActivate(), onDeactivate(), and onUpdate().