PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

Sky

Show deprecated

Sky

Show deprecated

The Sky object is an object, when placed inside Lighting, will change the appearance of the game’s sky. This allows for a custom sky to be used as opposed to the Roblox default sky. The Skybox is composed of six sides, much like that of a cube. If the skybox is changed/customised, the Sun and other objects in the sky will remain visible, unless you turn off the Sky object’s Sky/CelestialBodiesShown property, which will remove the Sun, Moon, and stars from the sky. The recommended picture dimensions for a Skybox side are 256x256 pixels. By adjusting the Sky/StarCount property of the Sky object, you can change how many stars will appear in the sky at night.


Properties

bool

CelestialBodiesShown

Sets whether the Sun, Moon, and stars will show.

float

MoonAngularSize

The perceived angular size of the moon while using this skybox, in degrees.

Content

MoonTextureId

The texture of the moon while using this skybox.

Content

SkyboxBk

The URL link to a picture for the back surface of the sky.

Content

SkyboxDn

The URL asset link to a picture for the Bottom surface of the sky.

Content

SkyboxFt

The URL link to a picture for the front surface of the skybox.

Content

SkyboxLf

The URL link to a picture for the left surface of the sky.

Content

SkyboxRt

The URL link to a picture for the right surface of the sky.

Content

SkyboxUp

The URL link to a picture for the top surface of the sky.

int

StarCount

How many stars are shown in the skybox.

float

SunAngularSize

The perceived angular size of the sun while using this skybox, in degrees.

Content

SunTextureId

The texture of the sun while using this skybox.

Functions

Events