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 () |
Notifications sent when the state of the material consumer changes in a way that affects the material component and tools.
|
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.