Skip to content
Roblox API Reference

Atmosphere

The Atmosphere object pushes Roblox closer toward realistic environments where sunlight scatters in different ways depending on density and other air particle properties.
Memory category
Instances
Own members
6
Inherited members
75
Subclasses
0
Siblings
608

Properties29

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Defined byAtmosphere6

Property categoryAppearance

  • Atmosphere.Density: number = 0.395000011
    Defines the amount of particles in the Atmosphere and essentially controls how much in-game objects/terrain will be obscured by them.
    • Read capabilities: Environment
  • Atmosphere.Offset: number = 0
    Controls how light transmits between the camera and the sky background.
    • Read capabilities: Environment

Property categoryState

  • Atmosphere.Color: Color3 = Color3.new(0.7843, 0.6667, 0.4235)
    Changes the Atmosphere hue for subtle environmental moods.
    • Read capabilities: Environment
  • Atmosphere.Decay: Color3 = Color3.new(0.3608, 0.2353, 0.0549)
    When used with increased Atmosphere.Haze and Atmosphere.Glare, defines the hue of the Atmosphere away from the sun, gradually falling off from Atmosphere.Color towards this value.
    • Read capabilities: Environment
  • Atmosphere.Glare: number = 0
    When used with increased Atmosphere.Haze, specifies the glow/glare of the Atmosphere around the sun. More glare results in an increased effect of sunlight cast onto the sky and world.
    • Read capabilities: Environment
  • Atmosphere.Haze: number = 0
    Defines the haziness of the Atmosphere with a visible effect both above the horizon and into the distance.
    • 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