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::MacroMaterialImageModifier Class Reference

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

#include <MacroMaterialImageModification.h>

Inherits AzFramework::PaintBrushNotificationBus::Handler.

Public Member Functions

 MacroMaterialImageModifier (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: