EBus that notifies about the current state of Image Gradient modifications. More...
#include <ImageGradientModificationBus.h>
Inherits AZ::ComponentBus.
Public Member Functions | |
virtual void | OnImageGradientBrushStrokeBegin () |
Notify any listeners that a brush stroke has started on this image gradient. | |
virtual void | OnImageGradientBrushStrokeEnd (AZStd::shared_ptr< ImageTileBuffer > changedDataBuffer, const AZ::Aabb &dirtyRegion) |
Static Public Attributes | |
static const AZ::EBusHandlerPolicy | HandlerPolicy = AZ::EBusHandlerPolicy::Single |
EBus that notifies about the current state of Image Gradient modifications.
|
inlinevirtual |
Notify any listeners that a brush stroke has ended on this image gradient.
changedDataBuffer | A 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). |
dirtyRegion | The AABB defining the world space region affected by the brush stroke. |