Orrery Terrain · OrreryTerrain module · struct
FOrreryTerrainBrushMaskId
A brush mask named by its content hash: the 64-bit hash of its canonical bytes, which is what a sculpt record carries.
Declaration
USTRUCT(BlueprintType, meta=(="Terrain Brush Mask Id"))
struct FOrreryTerrainBrushMaskIdBlueprint Make and Break Terrain Brush Mask Id
The graph as text
- Make Terrain Brush Mask Id (structure)
- In Hash (Integer64): 0
- Out Orrery Terrain Brush Mask Id (OrreryTerrainBrushMaskId): not connected
- Break Terrain Brush Mask Id (structure)
- In Orrery Terrain Brush Mask Id (OrreryTerrainBrushMaskId): not connected
- Out Hash (Integer64): not connected
- Header
#include "TerrainBlueprintTypes.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrain");in your module’s Build.cs.- Stability
- Stable: changes within a major version only add.
- Blueprint
- “Terrain Brush Mask Id”, a Blueprint type
Description
0 names no mask. Get one from UOrreryTerrainBrushAsset::GetMaskId, or from the Register calls of the terrain subsystem.
Note.
The hash is stored as a signed 64-bit integer for Blueprint; the bits are the unsigned hash.
Functions
- IsValid
Whether this names a mask (a non-zero hash); it says nothing about whether a terrain holds it.
- Value
The hash as the unsigned value a sculpt record carries.
- FromValuestatic
The id of an unsigned hash.
- operator==
Properties
| Name | Type | Default | Meaning |
|---|---|---|---|
HashBlueprintReadWrite | int64 | 0 | The content hash (HashBytesV5 of the canonical bytes), as a signed integer; 0 names no mask. |
Blueprint
- Break Terrain Brush Mask IdMake and Break
- Make Terrain Brush Mask IdMake and Break