Open 3D Engine Atom Gem API Reference
23.05.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
Inherits AtomToolsFramework::EntityPreviewViewportContent, Handler, and Handler.
Public Member Functions | |
MaterialCanvasViewportContent (const AZ::Crc32 &toolId, AtomToolsFramework::RenderViewportWidget *widget, AZStd::shared_ptr< AzFramework::EntityContext > entityContext) | |
AZ::EntityId | GetObjectEntityId () const override |
Entity ID of the primary object displayed in the viewport. | |
AZ::EntityId | GetEnvironmentEntityId () const override |
Entity ID of the environment or stage surrounding the primary object. | |
AZ::EntityId | GetPostFxEntityId () const override |
Entity ID of the entity containing or controlling post processing effect components. | |
AZ::EntityId | GetShadowCatcherEntityId () const |
AZ::EntityId | GetGridEntityId () const |
![]() | |
EntityPreviewViewportContent (const AZ::Crc32 &toolId, RenderViewportWidget *widget, AZStd::shared_ptr< AzFramework::EntityContext > entityContext) | |
virtual AZ::Aabb | GetObjectLocalBounds () const |
Local bounds of the primary object displayed in the viewport. | |
virtual AZ::Aabb | GetObjectWorldBounds () const |
World bounds of the primary object displayed in the viewport. | |
virtual AZ::EntityId | GetCameraEntityId () const |
Entity ID of the camera used control perspective and view in the viewport. | |
AZ::Entity * | CreateEntity (const AZStd::string &name, const AZStd::vector< AZ::Uuid > &componentTypeIds) |
Create and activate a single entity with the listed components. | |
void | DestroyEntity (AZ::Entity *&entity) |
Deactivate and destroy a single entity. | |
Additional Inherited Members | |
![]() | |
void | OnViewportSettingsChanged () override |
![]() | |
const AZ::Crc32 | m_toolId = {} |