HytaleDocs
Misc

IndexedHeightThresholdValue

SeedIndex

The preserved index used to replay the legacy height-threshold seed. Keep converted values unique and nonnegative.

Type information: (Nullable) Integer

Threshold

The height threshold selected at this noise key.

Type information:

(Nullable) Either

BasicHeightThresholdValue with the following properties:

KeyTypeDescription
TypeConstant value: Basic

This field controls the type, it must be set to the constant value "Basic" to function as this type.

Positions(Nullable) Array of Integer

The ordered world Y coordinates for height interpolation. The array must match Values in length.

Values(Nullable) Array of Number

The condition values at corresponding Positions entries. The array must match Positions in length.

or

NoiseHeightThresholdValue with the following properties:

KeyTypeDescription
TypeConstant value: Noise

This field controls the type, it must be set to the constant value "Noise" to function as this type.

Noise(Nullable) Either String or NoiseAsset

Reference to a NoiseAsset asset

The noise that selects a nested height threshold.

Keys(Nullable) Array of Number

The ordered noise values mapped to Thresholds entries. The array must match Thresholds in length.

Thresholds(Nullable) Array of the type:
IndexedHeightThresholdValue

IndexedHeightThresholdValue with the following properties:

KeyTypeDescription
SeedIndex(Nullable) Integer

The preserved index used to replay the legacy height-threshold seed. Keep converted values unique and nonnegative.

Threshold(Nullable) Either BasicHeightThresholdValue or NoiseHeightThresholdValue

The height threshold selected at this noise key.

The height thresholds corresponding by index to Keys entries.

On this page