Controls the position and intensity of a spotlight in 3D space based on slider inputs.
Maximum horizontal movement range for the spotlight.
Maximum vertical movement range for the spotlight.
The spotlight object to control.
Fixed Z-coordinate for the spotlight position.
Reference to the Light component on the spotlight.
Light
Updates the spotlight's position based on normalized slider values.
float x: Normalized X-axis value.
float x
float y: Normalized Y-axis value.
float y
Updates the intensity of the spotlight.
float intensity: The new intensity value.
float intensity