Sun()

Syntax

Sun(x, y, z, Color)
Description
Changes the sun position and color. This affects water created with the #PB_World_WaterSun support.

Parameters

x, y, z The new absolute position of the sun in the world.
Color The new sun color. RGB() can be used to get a valid color value.

Return value

None.

See Also

CreateWater()

Supported OS

All

<- SkyDome() - Engine3D Index - WaterColor() ->