Skip to content
Orbdale

Orbdale Terrain · OrbdaleTerrain module · member function

UOrbdaleTerrainLibrary::

GetPaintWeight

Blueprint

The weight, 0 to 1, of a paint layer in a sample (0 when it is not among the sample layers).

Declaration

UFUNCTION(BlueprintPure, Category="Orbdale|Terrain|Query", meta=(AutoCreateRefTerm="Sample"))
static float GetPaintWeight(const FOrbdaleTerrainGroundSample& Sample, int32 LayerIndex);
Blueprint Get Paint Weight
The graph as text
  1. Get Paint Weight (pure function)
    • In Sample (OrbdaleTerrainGroundSample): not connected
    • In Layer Index (Integer): 0
    • Out Return Value (Float): 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 Paint Weight, in Orbdale › Terrain › Query

Parameters

NameTypeDefaultMeaning
Sampleconst FOrbdaleTerrainGroundSample&——
LayerIndexint32——