Sun()

Syntax

Sun(x, y, z, Color)
Description
Changes the sun position and color. This affects water created with the #PB_World_WaterSun support. RGB() can be used to get a valid color value.

Supported OS

All

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