Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrain module · member function

UOrreryTerrainLibrary::

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="Orrery|Terrain|Query", meta=(AutoCreateRefTerm="Sample"))
static float GetPaintWeight(const FOrreryTerrainGroundSample& Sample, int32 LayerIndex);
Blueprint Get Paint Weight
The graph as text
  1. Get Paint Weight (pure function)
    • In Sample (OrreryTerrainGroundSample): not connected
    • In Layer Index (Integer): 0
    • Out Return Value (Float): not connected
Header
#include "OrreryTerrainLibrary.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrain"); in your module’s Build.cs.
Stability
Stable: changes within a major version only add.
Thread
Game thread (Blueprint). (the rule of UOrreryTerrainLibrary)
Blueprint
Get Paint Weight, in Orrery › Terrain › Query

Parameters

NameTypeDefaultMeaning
Sampleconst FOrreryTerrainGroundSample&——
LayerIndexint32——