Open 3D Engine Terrain 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.
Terrain::TerrainMacroColorModificationNotifications Class Reference

EBus that notifies about the current state of Terrain Macro Color modifications. More...

#include <TerrainMacroMaterialBus.h>

Inherits AZ::ComponentBus.

Public Member Functions

virtual void OnTerrainMacroColorBrushStrokeBegin ()
 Notify any listeners that a brush stroke has started on the macro color image.
 
virtual void OnTerrainMacroColorBrushStrokeEnd (AZStd::shared_ptr< ImageTileBuffer > changedDataBuffer, const AZ::Aabb &dirtyRegion)
 

Detailed Description

EBus that notifies about the current state of Terrain Macro Color modifications.

Member Function Documentation

◆ OnTerrainMacroColorBrushStrokeEnd()

virtual void Terrain::TerrainMacroColorModificationNotifications::OnTerrainMacroColorBrushStrokeEnd ( AZStd::shared_ptr< ImageTileBuffer changedDataBuffer,
const AZ::Aabb &  dirtyRegion 
)
inlinevirtual

Notify any listeners that a brush stroke has ended on the macro color image.

Parameters
changedDataBufferA pointer to the ImageTileBuffer containing the changed data. The buffer will be deleted after this notification unless a listener keeps a copy of the pointer (for undo/redo, for example).
dirtyRegionThe AABB defining the world space region affected by the brush stroke.

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