Sky
Configures skybox textures, celestial bodies, and procedural sky appearance.
- Creatable
Instance.new("Sky")- Inherits
- Instance
- Replication
- Standard
Behavior
Sky configures skybox textures, celestial bodies, and procedural sky appearance.
Summary
Whether the sky displays the sun and moon.
The apparent angular size of the moon.
The phase used to shade the visible moon.
The brightness multiplier for the sky.
The content identifier for the back skybox face.
The content identifier for the bottom skybox face.
The content identifier for the front skybox face.
The content identifier for the left skybox face.
The content identifier for the right skybox face.
The content identifier for the top skybox face.
The number of stars displayed by the sky.
The apparent angular size of the sun.
The strength of the sky's twilight glow.
Returns this instance if it is an ExecutionGroup.
Properties
CelestialBodiesShown
Sky.CelestialBodiesShown: boolean = trueWhether the sky displays the sun and moon.
MoonAngularSize
Sky.MoonAngularSize: number = 10.58The apparent angular size of the moon.
MoonPhase
Sky.MoonPhase: number = 0.5The phase used to shade the visible moon.
SkyBrightness
Sky.SkyBrightness: number = 1The brightness multiplier for the sky.
SkyboxBk
Sky.SkyboxBk: Content = ""The content identifier for the back skybox face.
SkyboxDn
Sky.SkyboxDn: Content = ""The content identifier for the bottom skybox face.
SkyboxFt
Sky.SkyboxFt: Content = ""The content identifier for the front skybox face.
SkyboxLf
Sky.SkyboxLf: Content = ""The content identifier for the left skybox face.
SkyboxRt
Sky.SkyboxRt: Content = ""The content identifier for the right skybox face.
SkyboxUp
Sky.SkyboxUp: Content = ""The content identifier for the top skybox face.
StarCount
Sky.StarCount: number = 3000The number of stars displayed by the sky.
SunAngularSize
Sky.SunAngularSize: number = 1.49The apparent angular size of the sun.
TwilightGlow
Sky.TwilightGlow: number = 1The strength of the sky's twilight glow.
Methods
GetExecutionGroup
Sky:GetExecutionGroup(): ExecutionGroup?Returns this instance if it is an ExecutionGroup. Otherwise returns the nearest ancestor ExecutionGroup, or nil when no group contains the instance.
Inherited members
- Properties
- ArchivableClassNameNameParent
- Methods
- AddComponent()AddTag()ClearAllChildren()ClearTags()Clone()Destroy()FindFirstAncestor()FindFirstAncestorOfClass()FindFirstAncestorWhichIsA()FindFirstChild()FindFirstChildOfClass()FindFirstChildWhichIsA()FindFirstDescendant()GetAttribute()GetAttributeChangedSignal()GetAttributes()GetChildren()GetComponent()GetComponentChangedSignal()GetComponents()GetDebugId()GetDescendants()GetFullName()GetPropertyChangedSignal()GetReferencing()GetTags()HasComponent()HasTag()IsA()IsAncestorOf()IsDescendantOf()RemoveComponent()RemoveTag()SetAttribute()WaitForChild()
- Events
- AncestryChangedAttributeChangedChangedChildAddedChildRemovedDescendantAddedDescendantRemovingDestroying