Sky

Afficher les obsolètes

The Sky object, when placed inside Lighting, changes the default appearance of the experience's sky. This object's skybox is composed of six sides, like a cube. If you customize the skybox, the sun, moon, and other celestial objects remain visible unless you turn off the CelestialBodiesShown property. By adjusting the StarCount property, you can change how many stars appear in the sky at night.

This object can also be used as a cubemap for reflections in ViewportFrames, in which case only the Sky object's six Skybox[…] properties are used. For details, see Frames.

Résumé

Propriétés

  • Lecture parallèle

    Sets whether the sun, moon, and stars will show.

  • Lecture parallèle

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

  • MoonTextureId:ContentId
    Lecture parallèle

    The texture of the moon while using this skybox.

  • SkyboxBk:ContentId
    Lecture parallèle

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

  • SkyboxDn:ContentId
    Lecture parallèle

    Asset ID for the bottom surface of the skybox.

  • SkyboxFt:ContentId
    Lecture parallèle

    Asset ID for the front surface of the skybox.

  • SkyboxLf:ContentId
    Lecture parallèle

    Asset ID for the left surface of the skybox.

  • SkyboxRt:ContentId
    Lecture parallèle

    Asset ID for the right surface of the skybox.

  • SkyboxUp:ContentId
    Lecture parallèle

    Asset ID for the top surface of the skybox.

  • Lecture parallèle

    How many stars are shown in the skybox.

  • Lecture parallèle

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

  • SunTextureId:ContentId
    Lecture parallèle

    The texture of the sun while using this skybox.

Propriétés

CelestialBodiesShown

Lecture parallèle

Sets whether the sun, moon, and stars will show.

MoonAngularSize

Lecture parallèle

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

MoonTextureId

ContentId
Lecture parallèle

The texture of the moon while using this skybox.

SkyboxBk

ContentId
Lecture parallèle

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

SkyboxDn

ContentId
Lecture parallèle

Asset ID for the bottom surface of the skybox.

SkyboxFt

ContentId
Lecture parallèle

Asset ID for the front surface of the skybox.

SkyboxLf

ContentId
Lecture parallèle

Asset ID for the left surface of the skybox.

SkyboxRt

ContentId
Lecture parallèle

Asset ID for the right surface of the skybox.

SkyboxUp

ContentId
Lecture parallèle

Asset ID for the top surface of the skybox.

StarCount

Lecture parallèle

How many stars are shown in the skybox. Only works if CelestialBodiesShown is true.

SunAngularSize

Lecture parallèle

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

SunTextureId

ContentId
Lecture parallèle

The texture of the sun while using this skybox.

Méthodes

Évènements