HytaleDocs
Misc

EnvironmentDefaultValue

Values

The weighted environment keys available to the default 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

On this page