#include <ActorComponentBus.h>
Inherits AZ::ComponentBus.
|
using | MutexType = AZStd::recursive_mutex |
|
|
virtual EMotionFX::ActorInstance * | GetActorInstance () |
|
virtual size_t | GetNumJoints () const |
| Retrieve the total number of joints.
|
|
virtual size_t | GetJointIndexByName (const char *) const |
|
virtual AZ::Transform | GetJointTransform (size_t, Space) const |
|
virtual void | GetJointTransformComponents (size_t, Space, AZ::Vector3 &outPosition, AZ::Quaternion &outRotation, AZ::Vector3 &outScale) const |
|
virtual Physics::AnimationConfiguration * | GetPhysicsConfig () const |
|
virtual void | AttachToEntity (AZ::EntityId, AttachmentType) |
|
virtual void | DetachFromEntity () |
| Detach from parent entity, if attached.
|
|
virtual bool | GetRenderCharacter () const =0 |
| Enables rendering of the actor.
|
|
virtual void | SetRenderCharacter (bool enable)=0 |
|
virtual bool | GetRenderActorVisible () const =0 |
|
virtual SkinningMethod | GetSkinningMethod () const =0 |
| Returns skinning method used by the actor.
|
|
virtual void | SetActorAsset (AZ::Data::Asset< EMotionFX::Integration::ActorAsset > actorAsset)=0 |
|
virtual void | EnableInstanceUpdate (bool enableInstanceUpdate)=0 |
|
|
static const size_t | s_invalidJointIndex = std::numeric_limits<size_t>::max() |
|
EMotion FX Actor Component Request Bus Used for making requests to EMotion FX Actor Components.
◆ AttachToEntity()
virtual void EMotionFX::Integration::ActorComponentRequests::AttachToEntity |
( |
AZ::EntityId |
, |
|
|
AttachmentType |
|
|
) |
| |
|
inlinevirtual |
Attach to the specified entity.
- Parameters
-
targetEntityId | - Id of the entity to attach to. |
attachmentType | - Desired type of attachment. |
◆ GetActorInstance()
Retrieve component's actor instance.
- Returns
- pointer to actor instance.
◆ GetJointIndexByName()
virtual size_t EMotionFX::Integration::ActorComponentRequests::GetJointIndexByName |
( |
const char * |
| ) |
const |
|
inlinevirtual |
Find the name index of a given joint by its name.
- Parameters
-
name | The name of the join to search for, case insensitive. |
- Returns
- The joint index, or s_invalidJointIndex if no found.
◆ GetJointTransform()
virtual AZ::Transform EMotionFX::Integration::ActorComponentRequests::GetJointTransform |
( |
size_t |
, |
|
|
Space |
|
|
) |
| const |
|
inlinevirtual |
Retrieve the local transform (relative to the parent) of a given joint.
- Parameters
-
jointIndex | The joint index to get the transform from. |
Space | the space to get the transform in. |
The documentation for this class was generated from the following file:
- Gems/EMotionFX/Code/Include/Integration/ActorComponentBus.h