Open Asterune
AreaLight

AreaLight

Emits light from a rectangular source.

Creatable
Instance.new("AreaLight")
Inherits
LightInstance
Replication
Standard

Behavior

AreaLight emits light from a rectangular source.

Summary

Members17
Properties16
Methods1

Properties

Brightness

AreaLight.Brightness: number = 1

The intensity multiplier applied to the emitted light.

Color

AreaLight.Color: Color3 = Color3.new(1, 1, 1)

The color of the emitted light.

ContactShadows

AreaLight.ContactShadows: boolean = false

Whether the light adds contact shadows near surface intersections.

Enabled

AreaLight.Enabled: boolean = true

Whether this light contributes illumination.

Face

The Part face on which the surface texture, light, or interface is placed.

Height

AreaLight.Height: number = 4

The rectangular source height, in studs.

IesProfile

AreaLight.IesProfile: Content = ""

The content identifier of the light's IES intensity profile.

Range

AreaLight.Range: number = 8

The maximum distance affected by the light, in studs.

RenderLayer

The rendering layer used for this geometry or light.

Shadows

AreaLight.Shadows: boolean = false

Whether this light casts shadows. Additional shadow-casting lights increase rendering work.

SourceRadius

AreaLight.SourceRadius: number = 0.25

The radius of the light source used for soft-shadow calculations.

Temperature

AreaLight.Temperature: number = 6500

The color temperature used to tint the light.

Texture

AreaLight.Texture: Content = ""

The content identifier of the texture used by this instance.

TwoSided

AreaLight.TwoSided: boolean = false

Whether the area light emits from both sides of its rectangle.

Volumetric

AreaLight.Volumetric: boolean = false

Whether the light contributes to volumetric lighting.

Width

AreaLight.Width: number = 4

The rectangular source width, in studs.

Methods

GetExecutionGroup

AreaLight: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

Light