Open 3D Engine EMotionFX Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
EMotionFX::Integration::AnimGraphComponentNotifications Class Reference

#include <AnimGraphComponentBus.h>

Inherits AZ::ComponentBus.

Classes

struct  AssetConnectionPolicy
 

Public Types

template<typename Bus >
using ConnectionPolicy = AssetConnectionPolicy< Bus >
 

Public Member Functions

virtual void OnAnimGraphInstanceCreated (EMotionFX::AnimGraphInstance *)
 
virtual void OnAnimGraphInstanceDestroyed (EMotionFX::AnimGraphInstance *)
 
virtual void OnAnimGraphFloatParameterChanged (EMotionFX::AnimGraphInstance *, size_t parameterIndex, float beforeValue, float afterValue)
 
virtual void OnAnimGraphBoolParameterChanged (EMotionFX::AnimGraphInstance *, size_t parameterIndex, bool beforeValue, bool afterValue)
 
virtual void OnAnimGraphStringParameterChanged (EMotionFX::AnimGraphInstance *, size_t parameterIndex, const char *beforeValue, const char *afterValue)
 
virtual void OnAnimGraphVector2ParameterChanged (EMotionFX::AnimGraphInstance *, size_t parameterIndex, const AZ::Vector2 &beforeValue, const AZ::Vector2 &afterValue)
 
virtual void OnAnimGraphVector3ParameterChanged (EMotionFX::AnimGraphInstance *, size_t parameterIndex, const AZ::Vector3 &beforeValue, const AZ::Vector3 &afterValue)
 
virtual void OnAnimGraphRotationParameterChanged (EMotionFX::AnimGraphInstance *, size_t parameterIndex, const AZ::Quaternion &beforeValue, const AZ::Quaternion &afterValue)
 
virtual void OnAnimGraphSynced (EMotionFX::AnimGraphInstance *)
 
virtual void OnAnimGraphDesynced (EMotionFX::AnimGraphInstance *)
 

Detailed Description

EmotionFX Anim Graph Component Notification Bus Used for monitoring events from Anim Graph components.

Member Function Documentation

◆ OnAnimGraphBoolParameterChanged()

virtual void EMotionFX::Integration::AnimGraphComponentNotifications::OnAnimGraphBoolParameterChanged ( EMotionFX::AnimGraphInstance ,
size_t  parameterIndex,
bool  beforeValue,
bool  afterValue 
)
inlinevirtual

Notifies listeners when a bool parameter changes

Parameters
animGraphInstance- pointer to anim graph instance
parameterIndex- index of changed parameter
beforeValue- value before the change
afterValue- value after the change

◆ OnAnimGraphDesynced()

virtual void EMotionFX::Integration::AnimGraphComponentNotifications::OnAnimGraphDesynced ( EMotionFX::AnimGraphInstance )
inlinevirtual

Notifies listeners when an another anim graph trying to desync this graph

Parameters
animGraphInstance- pointer to the follower anim graph instance

◆ OnAnimGraphFloatParameterChanged()

virtual void EMotionFX::Integration::AnimGraphComponentNotifications::OnAnimGraphFloatParameterChanged ( EMotionFX::AnimGraphInstance ,
size_t  parameterIndex,
float  beforeValue,
float  afterValue 
)
inlinevirtual

Notifies listeners when a float parameter changes

Parameters
animGraphInstance- pointer to anim graph instance
parameterIndex- index of changed parameter
beforeValue- value before the change
afterValue- value after the change

◆ OnAnimGraphInstanceCreated()

virtual void EMotionFX::Integration::AnimGraphComponentNotifications::OnAnimGraphInstanceCreated ( EMotionFX::AnimGraphInstance )
inlinevirtual

Notifies listeners when the component has created a graph instance.

Parameters
animGraphInstance- pointer to anim graph instance

◆ OnAnimGraphInstanceDestroyed()

virtual void EMotionFX::Integration::AnimGraphComponentNotifications::OnAnimGraphInstanceDestroyed ( EMotionFX::AnimGraphInstance )
inlinevirtual

Notifies listeners when the component is destroying a graph instance.

Parameters
animGraphInstance- pointer to anim graph instance

◆ OnAnimGraphRotationParameterChanged()

virtual void EMotionFX::Integration::AnimGraphComponentNotifications::OnAnimGraphRotationParameterChanged ( EMotionFX::AnimGraphInstance ,
size_t  parameterIndex,
const AZ::Quaternion &  beforeValue,
const AZ::Quaternion &  afterValue 
)
inlinevirtual

Notifies listeners when a rotation parameter changes

Parameters
animGraphInstance- pointer to anim graph instance
parameterIndex- index of changed parameter
beforeValue- value before the change
afterValue- value after the change

◆ OnAnimGraphStringParameterChanged()

virtual void EMotionFX::Integration::AnimGraphComponentNotifications::OnAnimGraphStringParameterChanged ( EMotionFX::AnimGraphInstance ,
size_t  parameterIndex,
const char *  beforeValue,
const char *  afterValue 
)
inlinevirtual

Notifies listeners when a string parameter changes

Parameters
animGraphInstance- pointer to anim graph instance
parameterIndex- index of changed parameter
beforeValue- value before the change
afterValue- value after the change

◆ OnAnimGraphSynced()

virtual void EMotionFX::Integration::AnimGraphComponentNotifications::OnAnimGraphSynced ( EMotionFX::AnimGraphInstance )
inlinevirtual

Notifies listeners when an another anim graph trying to sync this graph

Parameters
animGraphInstance- pointer to the follower anim graph instance

◆ OnAnimGraphVector2ParameterChanged()

virtual void EMotionFX::Integration::AnimGraphComponentNotifications::OnAnimGraphVector2ParameterChanged ( EMotionFX::AnimGraphInstance ,
size_t  parameterIndex,
const AZ::Vector2 &  beforeValue,
const AZ::Vector2 &  afterValue 
)
inlinevirtual

Notifies listeners when a vector2 parameter changes

Parameters
animGraphInstance- pointer to anim graph instance
parameterIndex- index of changed parameter
beforeValue- value before the change
afterValue- value after the change

◆ OnAnimGraphVector3ParameterChanged()

virtual void EMotionFX::Integration::AnimGraphComponentNotifications::OnAnimGraphVector3ParameterChanged ( EMotionFX::AnimGraphInstance ,
size_t  parameterIndex,
const AZ::Vector3 &  beforeValue,
const AZ::Vector3 &  afterValue 
)
inlinevirtual

Notifies listeners when a vector3 parameter changes

Parameters
animGraphInstance- pointer to anim graph instance
parameterIndex- index of changed parameter
beforeValue- value before the change
afterValue- value after the change

The documentation for this class was generated from the following file: