Skip to content
Roblox API Reference

Sky

Changes the default appearance of the experience's sky.
Memory category
Instances
Own members
21
Inherited members
75
Subclasses
0
Siblings
608

Properties44

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Defined bySky21

Property categoryAppearance

  • Sky.CelestialBodiesShown: boolean = true
    Sets whether the sun, moon, and stars will render in the skybox.
    • Read capabilities: Environment
  • Sky.MoonAngularSize: number = 11
    The perceived angular size of the moon while using this skybox, in degrees. Defaults to 11 and is clamped to the range [0, 60].
    • Read capabilities: Environment
  • Sky.MoonTextureContent: Content
    The image displayed for the moon while using this skybox.
    • Read capabilities: Environment
  • Sky.MoonTextureId: string = "rbxasset://sky/moon.jpg"
    The texture of the moon while using this skybox.
    • Read capabilities: Environment
  • Sky.SkyboxBackContent: Content
    The image displayed on the back surface of the skybox.
    • Read capabilities: Environment
  • Sky.SkyboxBk: string = "rbxasset://textures/sky/sky512_bk.tex"
    The URL link to a picture for the back surface of the sky.
    • Read capabilities: Environment
  • Sky.SkyboxDn: string = "rbxasset://textures/sky/sky512_dn.tex"
    Asset ID for the bottom surface of the skybox.
    • Read capabilities: Environment
  • Sky.SkyboxDownContent: Content
    The image displayed on the bottom surface of the skybox.
    • Read capabilities: Environment
  • Sky.SkyboxFrontContent: Content
    The image displayed on the front surface of the skybox.
    • Read capabilities: Environment
  • Sky.SkyboxFt: string = "rbxasset://textures/sky/sky512_ft.tex"
    Asset ID for the front surface of the skybox.
    • Read capabilities: Environment
  • Sky.SkyboxLeftContent: Content
    The image displayed on the left surface of the skybox.
    • Read capabilities: Environment
  • Sky.SkyboxLf: string = "rbxasset://textures/sky/sky512_lf.tex"
    Asset ID for the left surface of the skybox.
    • Read capabilities: Environment
  • Sky.SkyboxOrientation: Vector3 = Vector3.zero
    Angle of the skybox, in degrees, with rotation order of Y, X, Z.
    • Read capabilities: Environment
  • Sky.SkyboxRightContent: Content
    The image displayed on the right surface of the skybox.
    • Read capabilities: Environment
  • Sky.SkyboxRt: string = "rbxasset://textures/sky/sky512_rt.tex"
    Asset ID for the right surface of the skybox.
    • Read capabilities: Environment
  • Sky.SkyboxUp: string = "rbxasset://textures/sky/sky512_up.tex"
    Asset ID for the top surface of the skybox.
    • Read capabilities: Environment
  • Sky.SkyboxUpContent: Content
    The image displayed on the top surface of the skybox.
    • Read capabilities: Environment
  • Sky.StarCount: number = 3000
    How many stars are shown in the skybox.
    • Read capabilities: Environment
  • Sky.SunAngularSize: number = 21
    The perceived angular size of the sun while using this skybox, in degrees.
    • Read capabilities: Environment
  • Sky.SunTextureContent: Content
    The image displayed for the sun while using this skybox.
    • Read capabilities: Environment
  • Sky.SunTextureId: string = "rbxasset://sky/sun.jpg"
    The texture of the sun while using this skybox.
    • Read capabilities: Environment

Methods42

Inherited fromObject3
  • Get an event that fires when a given property of the object changes.
    Parameters
    ParameterDescription
    property: string
    The property to connect to.
    Returns
    TypeDescription
    RBXScriptSignal
    A signal that fires whenever the property changes.
  • Object:IsA(className: string): boolean
    Returns true if an object's class matches or inherits from a given class.
    • Custom Lua state
    • Thread safe
    Parameters
    ParameterDescription
    className: string
    The class against which the Object's class will be checked. Case-sensitive.
    Returns
    TypeDescription
    boolean
    Describes whether the Object's class matched or is a subclass of the given class.
  • Object:isA(className: string): boolean
    Deprecated: This deprecated function is a variant of Object:IsA() which should be used instead.
    • Deprecated
    • Custom Lua state
    Parameters
    Parameter
    className: string
    Returns
    Type
    boolean

    Use IsA instead.

Inherited fromInstance39

Events10

Inherited fromObject1
Inherited fromInstance9