#include <AnimGraphComponentBus.h>
Inherits AZ::ComponentBus.
Public Member Functions | |
virtual EMotionFX::AnimGraphInstance * | GetAnimGraphInstance () |
virtual size_t | FindParameterIndex (const char *parameterName)=0 |
virtual const char * | FindParameterName (size_t parameterIndex)=0 |
virtual void | SetParameterFloat (size_t parameterIndex, float value)=0 |
virtual void | SetParameterBool (size_t parameterIndex, bool value)=0 |
virtual void | SetParameterString (size_t parameterIndex, const char *value)=0 |
virtual void | SetParameterVector2 (size_t parameterIndex, const AZ::Vector2 &value)=0 |
virtual void | SetParameterVector3 (size_t parameterIndex, const AZ::Vector3 &value)=0 |
virtual void | SetParameterRotationEuler (size_t parameterIndex, const AZ::Vector3 &value)=0 |
virtual void | SetParameterRotation (size_t parameterIndex, const AZ::Quaternion &value)=0 |
virtual void | SetNamedParameterFloat (const char *parameterName, float value)=0 |
virtual void | SetNamedParameterBool (const char *parameterName, bool value)=0 |
virtual void | SetNamedParameterString (const char *parameterName, const char *value)=0 |
virtual void | SetNamedParameterVector2 (const char *parameterName, const AZ::Vector2 &value)=0 |
virtual void | SetNamedParameterVector3 (const char *parameterName, const AZ::Vector3 &value)=0 |
virtual void | SetNamedParameterRotationEuler (const char *parameterName, const AZ::Vector3 &value)=0 |
virtual void | SetNamedParameterRotation (const char *parameterName, const AZ::Quaternion &value)=0 |
virtual void | SetVisualizeEnabled (bool enabled)=0 |
Enable or disable debug draw visualization inside the anim graph instance. | |
virtual float | GetParameterFloat (size_t parameterIndex)=0 |
virtual bool | GetParameterBool (size_t parameterIndex)=0 |
virtual AZStd::string | GetParameterString (size_t parameterIndex)=0 |
virtual AZ::Vector2 | GetParameterVector2 (size_t parameterIndex)=0 |
virtual AZ::Vector3 | GetParameterVector3 (size_t parameterIndex)=0 |
virtual AZ::Vector3 | GetParameterRotationEuler (size_t parameterIndex)=0 |
virtual AZ::Quaternion | GetParameterRotation (size_t parameterIndex)=0 |
virtual float | GetNamedParameterFloat (const char *parameterName)=0 |
virtual bool | GetNamedParameterBool (const char *parameterName)=0 |
virtual AZStd::string | GetNamedParameterString (const char *parameterName)=0 |
virtual AZ::Vector2 | GetNamedParameterVector2 (const char *parameterName)=0 |
virtual AZ::Vector3 | GetNamedParameterVector3 (const char *parameterName)=0 |
virtual AZ::Vector3 | GetNamedParameterRotationEuler (const char *parameterName)=0 |
virtual AZ::Quaternion | GetNamedParameterRotation (const char *parameterName)=0 |
virtual bool | GetVisualizeEnabled ()=0 |
Check whether debug visualization is enabled or not. | |
virtual void | SyncAnimGraph (AZ::EntityId leaderEntityId)=0 |
virtual void | DesyncAnimGraph (AZ::EntityId leaderEntityId)=0 |
virtual void | SetActiveMotionSet (const char *activeMotionSetName)=0 |
Set the name of the active motion set. | |
Static Public Attributes | |
static const AZ::EBusHandlerPolicy | HandlerPolicy = AZ::EBusHandlerPolicy::Single |
EmotionFX Anim Graph Component Request Bus Used for making requests to the EMotionFX Anim Graph Components.
|
pure virtual |
Making a request to desync from the anim graph to its leader graph
leaderEntityId | - the entity id of another anim graph. |
|
pure virtual |
Retrieve parameter index for a given parameter name. Retrieving the index and using it to set parameter values is more performant than setting by name.
parameterName | - name of parameter for which to retrieve the index. |
|
pure virtual |
Retrieve parameter name for a given parameter index.
parameterName | - index of parameter for which to retrieve the name. |
|
inlinevirtual |
Retrieves the component's live graph instance.
|
pure virtual |
Retrieves a anim graph property as a boolean value.
parameterName | - name of parameter to get |
|
pure virtual |
Retrieves a anim graph property as a float value.
parameterName | - name of parameter to get |
|
pure virtual |
Retrieves a anim graph property as a quaternion value.
parameterName | - name of parameter to get |
|
pure virtual |
Retrieves a anim graph property given as euler rotation values.
parameterName | - name of parameter to get |
|
pure virtual |
Retrieves a anim graph property given a string value.
parameterName | - name of parameter to get |
|
pure virtual |
Retrieves a anim graph property as a Vector2 value.
parameterName | - name of parameter to get |
|
pure virtual |
Retrieves a anim graph property as a Vector3 value.
parameterName | - name of parameter to get |
|
pure virtual |
Retrieves a anim graph property as a boolean value.
parameterIndex | - index of parameter to set |
|
pure virtual |
Retrieves a anim graph property as a float value.
parameterIndex | - index of parameter to set |
|
pure virtual |
Retrieves a anim graph property as a quaternion value.
parameterIndex | - index of parameter to set |
|
pure virtual |
Retrieves a anim graph property given as euler rotation values.
parameterIndex | - index of parameter to set |
|
pure virtual |
Retrieves a anim graph property given a string value.
parameterIndex | - index of parameter to set |
|
pure virtual |
Retrieves a anim graph property as a Vector2 value.
parameterIndex | - index of parameter to set |
|
pure virtual |
Retrieves a anim graph property as a Vector3 value.
parameterIndex | - index of parameter to set |
|
pure virtual |
Updates a anim graph property given a boolean value.
parameterName | - name of parameter to set |
value |
|
pure virtual |
Updates a anim graph property given a float value.
parameterName | - name of parameter to set |
value |
|
pure virtual |
Updates a anim graph property given a quaternion value.
parameterName | - name of parameter to set |
value |
|
pure virtual |
Updates a anim graph property given euler rotation values.
parameterName | - name of parameter to set |
value |
|
pure virtual |
Updates a anim graph property given a string value.
parameterName | - name of parameter to set |
value |
|
pure virtual |
Updates a anim graph property given a Vector2 value.
parameterName | - name of parameter to set |
value |
|
pure virtual |
Updates a anim graph property given a Vector3 value.
parameterName | - name of parameter to set |
value |
|
pure virtual |
Updates a anim graph property given a boolean value.
parameterIndex | - index of parameter to set |
value | - value to set |
|
pure virtual |
Updates a anim graph property given a float value.
parameterIndex | - index of parameter to set |
value | - value to set |
|
pure virtual |
Updates a anim graph property given a quaternion value.
parameterIndex | - index of parameter to set |
value | - value to set |
|
pure virtual |
Updates a anim graph property given euler rotation values.
parameterIndex | - index of parameter to set |
value | - value to set |
|
pure virtual |
Updates a anim graph property given a string value.
parameterIndex | - index of parameter to set |
value | - value to set |
|
pure virtual |
Updates a anim graph property given a Vector2 value.
parameterIndex | - index of parameter to set |
value | - value to set |
|
pure virtual |
Updates a anim graph property given a Vector3 value.
parameterIndex | - index of parameter to set |
value | - value to set |
|
pure virtual |
Making a request to sync the anim graph with another animg graph
leaderEntityId | - the entity id of another anim graph. |