class SpotLight : Light

book_4_sparkGenerated
code_blocksInput

Description

The SpotLight class in the Sandbox namespace is a type of light that emits light in a specific direction in a cone shape. It is derived from the Light class and provides additional properties to control the shape and behavior of the light cone.

Members

Instance Properties

Member NameSummary
RadiusDefines the radius of the light's influence.
ConeOuterSpecifies the outer angle of the light cone.
ConeInnerSpecifies the inner angle of the light cone.
AttenuationControls the attenuation of the light over distance.
CookieDefines a texture to project through the light.