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.
GradientSignal::ImageGradientModifier Class Reference

Top-level class that handles all of the actual image modification calculations for a paintbrush. More...

#include <ImageGradientModification.h>

Inherits AzFramework::PaintBrushNotificationBus::Handler.

Public Member Functions

 ImageGradientModifier (const AZ::EntityComponentIdPair &entityComponentIdPair)
 

Protected Member Functions

void OnBrushStrokeBegin (const AZ::Color &color) override
 
void OnBrushStrokeEnd () override
 
void OnPaint (const AZ::Color &color, const AZ::Aabb &dirtyArea, ValueLookupFn &valueLookupFn, BlendFn &blendFn) override
 
void OnSmooth (const AZ::Color &color, const AZ::Aabb &dirtyArea, ValueLookupFn &valueLookupFn, AZStd::span< const AZ::Vector3 > valuePointOffsets, SmoothFn &smoothFn) override
 
AZ::Color OnGetColor (const AZ::Vector3 &brushCenter) const override
 

Detailed Description

Top-level class that handles all of the actual image modification calculations for a paintbrush.


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