class Light : Component

book_4_sparkGenerated
code_blocksInput

Description

The Light class in the Sandbox namespace is an abstract component that represents a light source in a scene. It provides properties to control the light's color, shadow casting, and interaction with fog.

Members

Instance Properties

Member NameSummary
LightColorThe main color of the light.
ShadowsShould this light cast shadows?
FogModeDetermines how the light interacts with fog.
FogStrengthThe strength of the light's influence on fog, ranging from 0 to 1.