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::TerrainMacroMaterialRequests Class Referenceabstract

#include <TerrainMacroMaterialBus.h>

Inherits AZ::ComponentBus.

Public Types

using MutexType = AZStd::recursive_mutex
 

Public Member Functions

virtual MacroMaterialData GetTerrainMacroMaterialData ()=0
 Get the terrain macro material and the region that it covers.
 
virtual AZ::RHI::Size GetMacroColorImageSize () const
 
virtual AZ::Vector2 GetMacroColorImagePixelsPerMeter () const
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Detailed Description

Request terrain macro material data.

Member Function Documentation

◆ GetMacroColorImagePixelsPerMeter()

virtual AZ::Vector2 Terrain::TerrainMacroMaterialRequests::GetMacroColorImagePixelsPerMeter ( ) const
inlinevirtual

Get the number of macro color pixels per meter in world space.

Returns
The number of pixels in the X and Y direction in one world space meter.

◆ GetMacroColorImageSize()

virtual AZ::RHI::Size Terrain::TerrainMacroMaterialRequests::GetMacroColorImageSize ( ) const
inlinevirtual

Get the macro color image size in pixels

Returns
Number of pixels in the image width, height, and depth

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