Open 3D Engine AtomLyIntegration Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::Render::EditorMaterialSystemComponentNotifications Class Reference

#include <EditorMaterialSystemComponentNotificationBus.h>

Inherits AZ::EBusTraits.

Public Member Functions

virtual void OnRenderMaterialPreviewRendered ([[maybe_unused]] const AZ::EntityId &entityId, [[maybe_unused]] const AZ::Render::MaterialAssignmentId &materialAssignmentId, [[maybe_unused]] const QPixmap &pixmap)
 
virtual void OnRenderMaterialPreviewReady ([[maybe_unused]] const AZ::EntityId &entityId, [[maybe_unused]] const AZ::Render::MaterialAssignmentId &materialAssignmentId, [[maybe_unused]] const QPixmap &pixmap)
 This notification is sent after a material preview image has been rendered and cached.
 

Static Public Attributes

static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::Single
 
static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Multiple
 

Detailed Description

EditorMaterialSystemComponentNotifications is an interface for handling notifications from EditorMaterialSystemComponent, like being informed that material preview images are available

Member Function Documentation

◆ OnRenderMaterialPreviewRendered()

virtual void AZ::Render::EditorMaterialSystemComponentNotifications::OnRenderMaterialPreviewRendered ( [[maybe_unused] ] const AZ::EntityId &  entityId,
[[maybe_unused] ] const AZ::Render::MaterialAssignmentId materialAssignmentId,
[[maybe_unused] ] const QPixmap &  pixmap 
)
inlinevirtual

This notification is sent when a material preview image for a given entity and material assignment has been rendered by the preview rendering system


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