Open Asterune
Shadow

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

Members8
Properties7
Methods1

Properties

Blur

Shadow.Blur: number = 16

The 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 = true

Whether this shadow is enabled.

Inset

Shadow.Inset: boolean = false

Whether the shadow is drawn inside the element's bounds.

Opacity

Shadow.Opacity: number = 0.35

The opacity applied to this decoration.

Spread

Shadow.Spread: number = 0

The 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

Inherited47

UIComponent