#include <MacroMaterialImageModification.h>
Public Member Functions | |
ModifiedImageRegion (const MacroMaterialImageSizeData &imageData) | |
void | AddPoint (const PixelIndex &pixelIndex) |
Add a pixel's pixel index into the dirty region. | |
AZ::Aabb | GetDirtyRegion () |
Calculate the dirty region in world space that reflects everywhere that's changed. | |
bool | IsModified () const |
Returns true if there is a dirty region, false if there isn't. | |
Handles all of the calculations for figuring out the dirty region AABB for the macro material texture. It tracks the dirty pixel region and converts that back to world space bounds on request. This ensures that our bounds fully encompass the world space pixel volumes, and not just their corners or centers.