Open 3D Engine GradientSignal Gem API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
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 ([[maybe_unused]] AZStd::shared_ptr< ImageTileBuffer > changedDataBuffer, [[maybe_unused]] 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. |