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::MaterialConsumerNotifications Class Reference

Notifications sent when the state of the material consumer changes in a way that affects the material component and tools. More...

#include <MaterialComponentBus.h>

Inherits AZ::ComponentBus.

Public Member Functions

virtual void OnMaterialAssignmentSlotsChanged ()
 

Detailed Description

Notifications sent when the state of the material consumer changes in a way that affects the material component and tools.

Member Function Documentation

◆ OnMaterialAssignmentSlotsChanged()

virtual void AZ::Render::MaterialConsumerNotifications::OnMaterialAssignmentSlotsChanged ( )
inlinevirtual

This notification should be sent whenever the material consumer has updated its map of expected materials or their default values. For example, the mesh and actor components send this notification after their model assets have loaded. The material component will handle the notification and use MaterialConsumerRequestBus to enumerate all of the requested materials, update default values, and repopulate the UI.


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