Notifications for when the surface -> material mapping changes..
More...
#include <TerrainAreaMaterialRequestBus.h>
Inherits AZ::EBusTraits.
|
virtual void | OnTerrainDefaultSurfaceMaterialCreated (AZ::EntityId entityId, AZ::Data::Instance< AZ::RPI::Material > material) |
| The default surface material has been assigned and loaded.
|
|
virtual void | OnTerrainDefaultSurfaceMaterialDestroyed (AZ::EntityId entityId) |
| The default surface material has been unassigned.
|
|
virtual void | OnTerrainDefaultSurfaceMaterialChanged (AZ::EntityId entityId, AZ::Data::Instance< AZ::RPI::Material > newMaterial) |
| The default surface material has been changed to a different material.
|
|
virtual void | OnTerrainSurfaceMaterialMappingCreated (AZ::EntityId entityId, SurfaceData::SurfaceTag surface, AZ::Data::Instance< AZ::RPI::Material > material) |
| A loaded material mapped to a valid surface tag has been created.
|
|
virtual void | OnTerrainSurfaceMaterialMappingDestroyed (AZ::EntityId entityId, SurfaceData::SurfaceTag surface) |
| Either the material or surface tag was unassigned, making this mapping invalid.
|
|
virtual void | OnTerrainSurfaceMaterialMappingTagChanged (AZ::EntityId entityId, SurfaceData::SurfaceTag oldSurface, SurfaceData::SurfaceTag newSurface) |
| The surface tag has changed to tag for an existing material.
|
|
virtual void | OnTerrainSurfaceMaterialMappingMaterialChanged (AZ::EntityId entityId, SurfaceData::SurfaceTag surface, AZ::Data::Instance< AZ::RPI::Material > material) |
| The material has changed for an existing surface tag.
|
|
virtual void | OnTerrainSurfaceMaterialMappingRegionCreated (AZ::EntityId entityId, const AZ::Aabb ®ion) |
| A set of surface material mappings has been created.
|
|
virtual void | OnTerrainSurfaceMaterialMappingRegionDestroyed (AZ::EntityId entityId, const AZ::Aabb &oldRegion) |
| A set of surface material mappings has been destroyed.
|
|
virtual void | OnTerrainSurfaceMaterialMappingRegionChanged (AZ::EntityId entityId, const AZ::Aabb &oldRegion, const AZ::Aabb &newRegion) |
| The bounds of this set of surface material mappings has changed.
|
|
|
static const AZ::EBusHandlerPolicy | HandlerPolicy = AZ::EBusHandlerPolicy::Multiple |
|
static const AZ::EBusAddressPolicy | AddressPolicy = AZ::EBusAddressPolicy::Single |
|
Notifications for when the surface -> material mapping changes..
The documentation for this class was generated from the following file:
- Gems/Terrain/Code/Source/TerrainRenderer/TerrainAreaMaterialRequestBus.h