Orrery Terrain · OrreryTerrain module · member function
UOrreryTerrainLibrary::
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="Orrery|Terrain|Query", meta=(="Sample"))
static float GetPaintWeight(const FOrreryTerrainGroundSample& Sample, int32 LayerIndex);Blueprint Get Paint Weight
The graph as text
- 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
| Name | Type | Default | Meaning |
|---|---|---|---|
Sample | const FOrrery | — | — |
LayerIndex | int32 | — | — |