Open 3D Engine Atom 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::TransformServiceFeatureProcessorInterface Class Referenceabstract

This feature processor handles static and dynamic non-skinned meshes. More...

#include <TransformServiceFeatureProcessorInterface.h>

Inherits AZ::RPI::FeatureProcessor.

Inherited by AZ::Render::TransformServiceFeatureProcessor.

Public Types

using ObjectId = RHI::Handle< uint32_t, TransformServiceFeatureProcessorInterface >
 

Public Member Functions

 AZ_RTTI (AZ::Render::TransformServiceFeatureProcessorInterface, "{A9099337-AA0F-4F47-8E47-6E7FBA8998D0}", AZ::RPI::FeatureProcessor)
 
virtual ObjectId ReserveObjectId ()=0
 Reserves an object ID that can later be sent transform updates.
 
virtual void ReleaseObjectId (ObjectId &id)=0
 Releases an object ID to be used by others. The passed in handle is invalidated.
 
virtual void SetTransformForId (ObjectId id, const AZ::Transform &transform, const AZ::Vector3 &nonUniformScale=AZ::Vector3::CreateOne())=0
 Sets the transform (and optionally non-uniform scale) for a given id. Id must be one reserved earlier.
 
virtual AZ::Transform GetTransformForId (ObjectId) const =0
 Gets the transform for a given id. Id must be one reserved earlier.
 
virtual AZ::Vector3 GetNonUniformScaleForId (ObjectId id) const =0
 Gets the non-uniform scale for a given id. Id must be one reserved earlier.
 
- Public Member Functions inherited from AZ::RPI::FeatureProcessor
 AZ_RTTI (FeatureProcessor, "{B8027170-C65C-4237-964D-B557FC9D7575}")
 
 AZ_CLASS_ALLOCATOR (FeatureProcessor, AZ::SystemAllocator)
 
SceneGetParentScene () const
 
virtual void Activate ()
 Perform any necessary activation and gives access to owning Scene.
 
virtual void Deactivate ()
 Perform any necessary deactivation.
 
virtual void ApplyRenderPipelineChange (RenderPipeline *pipeline)
 
virtual void AddRenderPasses (RenderPipeline *pipeline)
 
virtual void PrepareViews (const PrepareViewsPacket &, AZStd::vector< AZStd::pair< PipelineViewTag, ViewPtr > > &)
 
virtual void Simulate (const SimulatePacket &)
 
virtual void Render (const RenderPacket &)
 
virtual void OnEndCulling (const RenderPacket &)
 
virtual void OnRenderEnd ()
 

Additional Inherited Members

- Protected Member Functions inherited from AZ::RPI::FeatureProcessor
void EnableSceneNotification ()
 
void DisableSceneNotification ()
 

Detailed Description

This feature processor handles static and dynamic non-skinned meshes.

Member Function Documentation

◆ GetNonUniformScaleForId()

virtual AZ::Vector3 AZ::Render::TransformServiceFeatureProcessorInterface::GetNonUniformScaleForId ( ObjectId  id) const
pure virtual

Gets the non-uniform scale for a given id. Id must be one reserved earlier.

Implemented in AZ::Render::TransformServiceFeatureProcessor.

◆ GetTransformForId()

virtual AZ::Transform AZ::Render::TransformServiceFeatureProcessorInterface::GetTransformForId ( ObjectId  ) const
pure virtual

Gets the transform for a given id. Id must be one reserved earlier.

Implemented in AZ::Render::TransformServiceFeatureProcessor.

◆ ReleaseObjectId()

virtual void AZ::Render::TransformServiceFeatureProcessorInterface::ReleaseObjectId ( ObjectId id)
pure virtual

Releases an object ID to be used by others. The passed in handle is invalidated.

Implemented in AZ::Render::TransformServiceFeatureProcessor.

◆ ReserveObjectId()

virtual ObjectId AZ::Render::TransformServiceFeatureProcessorInterface::ReserveObjectId ( )
pure virtual

Reserves an object ID that can later be sent transform updates.

Implemented in AZ::Render::TransformServiceFeatureProcessor.

◆ SetTransformForId()

virtual void AZ::Render::TransformServiceFeatureProcessorInterface::SetTransformForId ( ObjectId  id,
const AZ::Transform &  transform,
const AZ::Vector3 &  nonUniformScale = AZ::Vector3::CreateOne() 
)
pure virtual

Sets the transform (and optionally non-uniform scale) for a given id. Id must be one reserved earlier.

Implemented in AZ::Render::TransformServiceFeatureProcessor.


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