Orrery Terrain · OrreryTerrain module · member function
UOrreryTerrainSampleBatchAsync::
SampleGroundBatchAsync
BlueprintDeclaration
UFUNCTION(BlueprintCallable, Category="Orrery|Terrain|Query", meta=(="Locations", ="true", ="WorldContextObject", ="Sample Ground Batch (Async)"))
static UOrreryTerrainSampleBatchAsync* SampleGroundBatchAsync(const UObject* WorldContextObject, const TArray<FVector>& Locations,
UPARAM(meta=(, ="/Script/OrreryTerrain.EOrreryTerrainSampleFields")) int32 Fields,
EOrreryTerrainAccuracy Accuracy = EOrreryTerrainAccuracy::Best,
EOrreryTerrainSurface Surface = EOrreryTerrainSurface::Modified, float Timeout = 30.f);Blueprint Sample Ground Batch (Async)
The graph as text
- Sample Ground Batch (Async) (latent function)
- In Locations (array of Vector): not connected
- In Fields (Integer): 0
- In Accuracy (EOrreryTerrainAccuracy): Best
- In Surface (EOrreryTerrainSurface): Modified
- In Timeout (Float): 30.0
- Then: not connected
- On Completed: not connected
- On Failed: not connected
- Out Samples (array of OrreryTerrainGroundSample): not connected
- Out Reason (EOrreryTerrainAsyncFailure): not connected
- Header
#include "OrreryTerrainAsyncActions.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrain");in your module’s Build.cs.- Stability
- Stable: changes within a major version only add.
- Blueprint
- Sample Ground Batch (Async), in Orrery › Terrain › Query
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
WorldContextObject | const UObject* | — | Any object in the world whose terrain is read; supplies the world. |
Locations | const TArray< | — | World cm. Up to 65,536; the rest are answered NoData. |
Fields | int32 | — | A bit mask of |
Accuracy | EOrrery | EOrrery | Best, ExactOnly or Coarse ( |
Surface | EOrrery | EOrrery | Which ground to read ( |
Timeout | float | 30.f | Real seconds before |