Skip to content

SpotLight

SpotLight is a source of light emitting in a specific direction and angle that can be placed in the world.

Inherits DynamicInstance

Properties

Angle : float

Specifies the angle of the spotlight.

Brightness : float

Specifies how bright/intense the light is.

Brightness should ideally be between 0-1

Color : Color

Specifies the color of the light.

Range : float

Specifies how far out the light can reach.

Shadows : boolean

Specifies whether this light emits shadows or not.

Having many lights with shadows enabled will cause a massive hit in performance. Consider minimizing the amount of lights with shadows to ensure every player is enjoying your place with minimal framerate issues.