Orbdale Terrain · OrbdaleTerrain module · member function
UOrbdaleTerrainLibrary::
GetPaintWeight
BlueprintThe 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=(="Sample"))
static float GetPaintWeight(const FOrbdaleTerrainGroundSample& Sample, int32 LayerIndex);Blueprint Get Paint Weight
The graph as text
- 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
| Name | Type | Default | Meaning |
|---|---|---|---|
Sample | const FOrbdale | — | — |
LayerIndex | int32 | — | — |