HytaleDocs
Misc

EnvironmentEntryValue

SeedIndex

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

Type information: (Nullable) Integer

Values

The weighted environment keys available to this selection.

Type information:

(Nullable) Array of the type:

WeightedEnvironmentValue with the following properties:

KeyTypeDescription
SeedIndex(Nullable) Integer

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

Name(Nullable) String defaults to:

The environment asset key selected by this entry.

WeightNumber defaults to: 1.0

The relative selection weight of this environment. The default is 1.

Noise

The noise used to select among multiple Values. It is required when Values has multiple entries.

Type information:

(Nullable) Either String or NoiseAsset

Reference to a NoiseAsset asset

NoiseMask

The optional noise condition that activates this environment selection.

Type information:

(Nullable)

NoiseConditionValue with the following properties:

KeyTypeDescription
Noise(Nullable) Either String or NoiseAsset

Reference to a NoiseAsset asset

The noise evaluated by this condition.

Threshold(Nullable) Type 0

The accepted noise value or ranges.

Notes:

Types referenced by this type

Type 0

Any of these:

Type
Number
Array of Number
Type 1

Type 1

Any of these:

Type
Number
Array of Number
Array of Array of Number

On this page