Open 3D Engine AtomLyIntegration 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.
AZ::Render::AtomActorInstance Class Reference

#include <AtomActorInstance.h>

Inherits EMotionFX::Integration::RenderActorInstance, AZ::TransformNotificationBus::Handler, AZ::Render::MaterialConsumerRequestBus::Handler, AzFramework::BoundsRequestBus::Handler, AZ::Render::MaterialComponentNotificationBus::Handler, AZ::Render::MeshComponentRequestBus::Handler, AZ::Render::SkinnedMeshOverrideRequestBus::Handler, AZ::Render::SkinnedMeshFeatureProcessorNotificationBus::Handler, AZ::Render::SkinnedMeshOutputStreamNotificationBus::Handler, LmbrCentral::SkeletalHierarchyRequestBus::Handler, Data::AssetBus::MultiHandler, and MeshHandleStateRequestBus::Handler.

Public Member Functions

 AZ_DISABLE_COPY_MOVE (AtomActorInstance)
 
 AtomActorInstance (AZ::EntityId entityId, const EMotionFX::Integration::EMotionFXPtr< EMotionFX::ActorInstance > &actorInstance, const AZ::Data::Asset< EMotionFX::Integration::ActorAsset > &asset, const AZ::Transform &worldTransform, EMotionFX::Integration::SkinningMethod skinningMethod)
 
void OnTick (float timeDelta) override
 
void DebugDraw (const EMotionFX::ActorRenderFlags &renderFlags)
 
void UpdateBounds () override
 
void SetSkinningMethod (EMotionFX::Integration::SkinningMethod emfxSkinningMethod) override
 
SkinningMethod GetAtomSkinningMethod () const
 
void SetIsVisible (bool isVisible) override
 
AZ::Aabb GetWorldBounds () override
 
AZ::Aabb GetLocalBounds () override
 
AtomActorGetRenderActor () const
 
void Activate ()
 
void Deactivate ()
 
void Create ()
 
void Destroy ()
 
void RegisterActor ()
 
void UnregisterActor ()
 
void OnTransformChanged (const AZ::Transform &local, const AZ::Transform &world) override
 
MaterialAssignmentId FindMaterialAssignmentId (const MaterialAssignmentLodIndex lod, const AZStd::string &label) const override
 
MaterialAssignmentLabelMap GetMaterialLabels () const override
 
MaterialAssignmentMap GetDefaultMaterialMap () const override
 
AZStd::unordered_set< AZ::Name > GetModelUvNames () const override
 
void OnMaterialsUpdated (const MaterialAssignmentMap &materials) override
 
void OnMaterialPropertiesUpdated (const MaterialAssignmentMap &materials) override
 
void SetModelAsset (Data::Asset< RPI::ModelAsset > modelAsset) override
 
Data::Asset< const RPI::ModelAsset > GetModelAsset () const override
 
void SetModelAssetId (Data::AssetId modelAssetId) override
 
Data::AssetId GetModelAssetId () const override
 
void SetModelAssetPath (const AZStd::string &modelAssetPath) override
 
AZStd::string GetModelAssetPath () const override
 
AZ::Data::Instance< RPI::Model > GetModel () const override
 
void SetSortKey (RHI::DrawItemSortKey sortKey) override
 
RHI::DrawItemSortKey GetSortKey () const override
 
void SetIsAlwaysDynamic (bool isAlwaysDynamic) override
 
bool GetIsAlwaysDynamic () const
 
void SetLodType (RPI::Cullable::LodType lodType) override
 
RPI::Cullable::LodType GetLodType () const override
 
void SetLodOverride (RPI::Cullable::LodOverride lodOverride) override
 
RPI::Cullable::LodOverride GetLodOverride () const override
 
void SetMinimumScreenCoverage (float minimumScreenCoverage) override
 
float GetMinimumScreenCoverage () const override
 
void SetQualityDecayRate (float qualityDecayRate) override
 
float GetQualityDecayRate () const override
 
void SetVisibility (bool visible) override
 
bool GetVisibility () const override
 
void SetRayTracingEnabled (bool enabled) override
 
bool GetRayTracingEnabled () const override
 
void SetExcludeFromReflectionCubeMaps (bool excludeFromReflectionCubeMaps) override
 
bool GetExcludeFromReflectionCubeMaps () const override
 
void EnableSkinning (uint32_t lodIndex, uint32_t meshIndex) override
 
void DisableSkinning (uint32_t lodIndex, uint32_t meshIndex) override
 
AZ::u32 GetJointCount () override
 
const char * GetJointNameByIndex (AZ::u32 jointIndex) override
 
AZ::s32 GetJointIndexByName (const char *jointName) override
 
AZ::Transform GetJointTransformCharacterRelative (AZ::u32 jointIndex) override
 
void OnAssetReady (AZ::Data::Asset< AZ::Data::AssetData > asset) override
 
void OnUpdateSkinningMatrices () override
 
void CreateRenderProxy (const MaterialAssignmentMap &materials)
 

Public Attributes

 AZ_CLASS_ALLOCATOR_DECL
 

Detailed Description

Render node for managing and rendering actor instances. Each Actor Component creates an ActorRenderNode. The render node is responsible for drawing meshes and passing skinning transforms to the skinning pipeline.


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