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::MacroMaterialImageSizeData Struct Reference

Tracks all of the data related to the macro material image size. More...

#include <MacroMaterialImageModification.h>

Public Attributes

float m_metersPerPixelX = 0.0f
 
float m_metersPerPixelY = 0.0f
 
AZ::Aabb m_macroMaterialBounds
 The world bounds of the macro material.
 
int16_t m_imageWidth = 0
 Image width and height in pixels.
 
int16_t m_imageHeight = 0
 

Detailed Description

Tracks all of the data related to the macro material image size.

Member Data Documentation

◆ m_metersPerPixelX

float Terrain::MacroMaterialImageSizeData::m_metersPerPixelX = 0.0f

The meters per pixel in each direction for this macro material. These help us query the paintbrush for exactly one world position per image pixel.


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