Orbdale Terrain · OrbdaleTerrain module · member function
UOrbdaleTerrainLibrary::
GetGroundHeightRange
BlueprintLowest and highest ground within a circle, from the resident tiles.
Declaration
UFUNCTION(BlueprintCallable, Category="Orbdale|Terrain|Query", meta=(="Centre", ="WorldContextObject"))
static bool GetGroundHeightRange(const UObject* WorldContextObject, const FVector& Centre, double Radius, double& OutMin, double& OutMax,
EOrbdaleTerrainSurface Surface = EOrbdaleTerrainSurface::Modified);Blueprint Get Ground Height Range
The graph as text
- Get Ground Height Range (function call)
- In Centre (Vector): (0.0, 0.0, 0.0)
- In Radius (Double): 0.0
- In Surface (EOrbdaleTerrainSurface): Modified
- Out Out Min (Double): not connected
- Out Out Max (Double): not connected
- Out Return Value (Boolean): not connected
- Header
#include "OrbdaleTerrainLibrary.h"- Module
PublicDependencyModuleNames.Add("OrbdaleTerrain");in your module’s Build.cs.- Stability
- Stable: changes within a major version only add.
- Thread
- Game thread (Blueprint). (the rule of UOrbdaleTerrainLibrary)
- Blueprint
- Get Ground Height Range, in Orbdale › Terrain › Query
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
WorldContextObject | const UObject* | — | Any object in the world whose terrain is read; supplies the world. |
Centre | const FVector& | — | World cm; Z is ignored. |
Radius | double | — | cm, clamped to 10 to 1,000,000. |
OutMin | double& | — | World Z of the lowest ground, cm. |
OutMax | double& | — | World Z of the highest ground, cm. |
Surface | EOrbdale | EOrbdale | Which ground to read ( |
Returns
false when no ground lies under the circle.