Open 3D Engine AzFramework 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.
AzFramework::Terrain::TerrainQueryRegion Struct Reference

Helper structure that defines a query region to use with the QueryRegion / QueryRegionAsync APIs. More...

#include <TerrainDataRequestBus.h>

Public Member Functions

 AZ_TYPE_INFO (TerrainQueryRegion, "{DE3F634D-9689-4FBC-9F43-A39CFDF425D0}")
 
 TerrainQueryRegion (const AZ::Vector3 &startPoint, size_t numPointsX, size_t numPointsY, const AZ::Vector2 &stepSize)
 
 TerrainQueryRegion (const AZ::Vector2 &startPoint, size_t numPointsX, size_t numPointsY, const AZ::Vector2 &stepSize)
 

Static Public Member Functions

static TerrainQueryRegion CreateFromAabbAndStepSize (const AZ::Aabb &region, const AZ::Vector2 &stepSize)
 

Public Attributes

AZ::Vector3 m_startPoint { 0.0f }
 
AZ::Vector2 m_stepSize { 0.0f }
 The starting point for the region query.
 
size_t m_numPointsX { 0 }
 The step size to use for advancing to the next point to query.
 
size_t m_numPointsY { 0 }
 The total number of points to query in the X direction.
 

Detailed Description

Helper structure that defines a query region to use with the QueryRegion / QueryRegionAsync APIs.


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