Clouds

Clouds is not creatable, there's only one instance of it. It can only be accessed through its globally exposed variable.

Clouds is a shortcut to Client.Clouds.

Clouds gives control over cloud settings.

Properties

Altitude of the clouds in world units. This is equivalent to Clouds.Min.Y

Color of the clouds. If Clouds.IsUnlit is set to false, clouds color will blend with scene lighting.

Height of the volume dedicated to clouds generation. This is equivalent to Clouds.Size.Y.

Whether or not the Clouds should ignore scene lighting, false by default.

Maximum world point of the volume dedicated to clouds generation.

Note: currently, [Clouds.Max.Y] isn't used.

Minimum world point of the volume dedicated to clouds generation.

Set to false to remove the clouds.

-- show clouds
Clouds.On = true
-- hide them
Clouds.On = false

Size of the volume dedicated to clouds generation. This will set Clouds.Max according to given size.

Note: currently, vertical size isn't used.

Width of the volume dedicated to clouds generation. This is equivalent to Clouds.Size.X.