HytaleDocs
Misc

NoiseHeightThresholdValue

Type

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

Type information: Constant value: Noise

Noise

The noise that selects a nested height threshold.

Type information:

(Nullable) Either String or NoiseAsset

Reference to a NoiseAsset asset

Keys

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

Type information: (Nullable) Array of Number

Thresholds

The height thresholds corresponding by index to Keys entries.

Type information:

(Nullable) Array of the type:

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

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

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

The height thresholds corresponding by index to Keys entries.

The height threshold selected at this noise key.

On this page