Skip to content
Orbdale

Orbdale Terrain · OrbdaleTerrain module · member function

UOrbdaleTerrainSampleExactAsync::

SampleGroundExactAsync

Blueprint

Declaration

UFUNCTION(BlueprintCallable, Category="Orbdale|Terrain|Query", meta=(AutoCreateRefTerm="Location", BlueprintInternalUseOnly="true", WorldContext="WorldContextObject", DisplayName="Sample Ground Exact (Async)"))
static UOrbdaleTerrainSampleExactAsync* SampleGroundExactAsync(const UObject* WorldContextObject, const FVector& Location,
                                                                UPARAM(meta=(Bitmask, BitmaskEnum="/Script/OrbdaleTerrain.EOrbdaleTerrainSampleFields")) int32 Fields,
                                                                EOrbdaleTerrainSurface Surface = EOrbdaleTerrainSurface::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 (EOrbdaleTerrainSurface): Modified
    • In Timeout (Float): 30.0
    • Then: not connected
    • On Completed: not connected
    • On Failed: not connected
    • Out Sample (OrbdaleTerrainGroundSample): not connected
    • Out Reason (EOrbdaleTerrainAsyncFailure): not connected
Header
#include "OrbdaleTerrainAsyncActions.h"
Module
PublicDependencyModuleNames.Add("OrbdaleTerrain"); in your module’s Build.cs.
Stability
Stable: changes within a major version only add.
Blueprint
Sample Ground Exact (Async), in Orbdale › 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 EOrbdaleTerrainSampleFields.

SurfaceEOrbdaleTerrainSurfaceEOrbdaleTerrainSurface::Modified

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

Timeoutfloat30.f

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