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


Axis Aligned Box Shape

Terrain Height Gradient List properties

Terrain Height Gradient List component properties

Gradient EntitiesAn array of entities with a Gradient component.Array: EntityIdNone


Use the following request functions with the TerrainAreaHeightRequestBus EBus interface to communicate with Terrain Height Gradient List components of your game.

Request NameDescriptionParameterReturnScriptable
GetHeightReturns a Vector3 of the Query Position with the Z-value updated to the terrain’s height at the query position. Also returns a boolean value indicating if terrain exists at the Query Position.Query Position: Vector3Terrain Height: Vector3, Terrain Exists: BooleanNo

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.