Description
The ConeOuter
property of the SceneSpotLight
class represents the outer cone angle of the spotlight in half angle degrees. This property defines the maximum spread of the light emitted by the spotlight, beyond which the light intensity falls off to zero.
Usage
To adjust the outer cone angle of a spotlight in your scene, set the ConeOuter
property to the desired angle in degrees. This will determine how wide the light spreads from the spotlight source.
Example
// Create a new SceneSpotLight instance
SceneSpotLight spotlight = new SceneSpotLight();
// Set the outer cone angle to 45 degrees
spotlight.ConeOuter = 45.0f;
// Add the spotlight to the scene
SceneWorld.Current.Add(spotlight);