Skip to content
Brass Orrery

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=(DisplayName="Terrain Brush Mask Id"))
struct FOrreryTerrainBrushMaskId
Blueprint Make and Break Terrain Brush Mask Id
The graph as text
  1. Make Terrain Brush Mask Id (structure)
    • In Hash (Integer64): 0
    • Out Orrery Terrain Brush Mask Id (OrreryTerrainBrushMaskId): not connected
  2. 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

NameTypeDefaultMeaning
HashBlueprintReadWriteint640

The content hash (HashBytesV5 of the canonical bytes), as a signed integer; 0 names no mask.

Blueprint