Shadow
Configures the shadow rendered for an interface element.
- Creatable
Instance.new("Shadow")- Inherits
- UIComponentUIBaseInstance
- Replication
- Standard
Behavior
Shadow configures the shadow rendered for an interface element.
Summary
The blur radius of the interface shadow.
Whether the interface element casts its configured shadow.
The color applied when rendering this instance.
Whether this shadow is enabled.
Whether the shadow is drawn inside the element's bounds.
The opacity applied to this decoration.
The spread of screen-space sun rays.
Returns this instance if it is an ExecutionGroup.
Properties
Blur
Shadow.Blur: number = 16The blur radius of the interface shadow.
Cast
Shadow.Cast: Vector2 = Vector2.new(0, 4)Whether the interface element casts its configured shadow.
Color
Shadow.Color: Color3 = Color3.new(0, 0, 0)The color applied when rendering this instance.
Enabled
Shadow.Enabled: boolean = trueWhether this shadow is enabled.
Inset
Shadow.Inset: boolean = falseWhether the shadow is drawn inside the element's bounds.
Opacity
Shadow.Opacity: number = 0.35The opacity applied to this decoration.
Spread
Shadow.Spread: number = 0The spread of screen-space sun rays.
Methods
GetExecutionGroup
Shadow: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