Terrain Height Gradient List Component

The Terrain Height Gradient List provides height data for the terrain system from a list of one or more gradients. The range of heights is adjusted by scaling the height of the Axis Aligned Box Shape Component on the same entity.


Terrain Gem


Use the following request functions with the TerrainAreaHeightRequestBus EBus interface to communicate with other components of your game.


Retrieves the height of the gradient at a given position. In the event of multiple gradients being defined, will return the highest point.

InPosition - The position for which to retrieve the height. Type: AZ::Vector3
OutPosition [out] - InPosition with its Z value adjusted to the correct height. Type: AZ::Vector3
TerrainExists [out] - Indicates whether gradient data exists for the given position. Type: Boolean


Copyright © 2022 Open 3D Engine Contributors

Documentation Distributed under CC BY 4.0.
For our trademark, privacy and antitrust policies, code of conduct, and terms of use, please click the applicable link below or see https://www.lfprojects.org.

The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Policy page.