Skip to content
Orbdale

Orbdale Terrain · OrbdaleTerrainCore module · member function

Native::ITileSource::

ContentHash

Experimental

Identity of this natural ground: its heights and, when it carries them, its natural paint channels (FBaseTile::Channels).

Declaration

virtual uint64_t ContentHash() const = 0;
Header
#include "Native/TileSource.h"
Module
PublicDependencyModuleNames.Add("OrbdaleTerrainCore"); in your module’s Build.cs.
Stability
Experimental: supported, may change in a minor version, with a changelog line.
Thread
Thread-safe and side-effect free: Load may be called concurrently from loader tasks. (the rule of ITileSource)

Description

A save, or a multiplayer peer, built on a different source is refused (ELoadResult::NaturalMismatch): the feature stack and the painted channels only mean something over the ground they were made on. A source without paint hashes its heights alone, so adding paint to the format changes no existing hash.