Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrain module · member function

UOrreryTerrainSampleExactAsync::

SampleGroundExactAsync

Blueprint

Declaration

UFUNCTION(BlueprintCallable, Category="Orrery|Terrain|Query", meta=(AutoCreateRefTerm="Location", BlueprintInternalUseOnly="true", WorldContext="WorldContextObject", DisplayName="Sample Ground Exact (Async)"))
static UOrreryTerrainSampleExactAsync* SampleGroundExactAsync(const UObject* WorldContextObject, const FVector& Location,
                                                                UPARAM(meta=(Bitmask, BitmaskEnum="/Script/OrreryTerrain.EOrreryTerrainSampleFields")) int32 Fields,
                                                                EOrreryTerrainSurface Surface = EOrreryTerrainSurface::Modified, float Timeout = 30.f);
Blueprint Sample Ground Exact (Async)
The graph as text
  1. Sample Ground Exact (Async) (latent function)
    • In Location (Vector): (0.0, 0.0, 0.0)
    • In Fields (Integer): 0
    • In Surface (EOrreryTerrainSurface): Modified
    • In Timeout (Float): 30.0
    • Then: not connected
    • On Completed: not connected
    • On Failed: not connected
    • Out Sample (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 Exact (Async), in Orrery › Terrain › Query

Parameters

NameTypeDefaultMeaning
WorldContextObjectconst UObject*—

Any object in the world whose terrain is read; supplies the world.

Locationconst FVector&—

World cm; Z is ignored.

Fieldsint32—

Bit mask of EOrreryTerrainSampleFields.

SurfaceEOrreryTerrainSurfaceEOrreryTerrainSurface::Modified

Which ground to read (EOrreryTerrainSurface); Modified is the current ground.

Timeoutfloat30.f

Real seconds before OnFailed(Timeout); 0 waits for ever.