SpotLight.OuterConeAngle Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The SpotLight’s outer cone angle, expressed as a semi-vertical angle in radians. Animatable.
public:
property float OuterConeAngle { float get(); void set(float value); };
float OuterConeAngle();
void OuterConeAngle(float value);
public float OuterConeAngle { get; set; }
var single = spotLight.outerConeAngle;
spotLight.outerConeAngle = single;
Public Property OuterConeAngle As Single
Property Value
float
The SpotLight’s outer cone angle, expressed as a semi-vertical angle in radians. The value must be between 0 and pi.
Examples
_spotLight.OuterConeAngle = (float)(Math.PI/2);
Remarks
Light emitted from a spotlight is made up of a bright inner cone and a larger outer cone, with the light intensity diminishing between the two.
**OuterConeAngle**
is not bound to InnerConeAngle parameters.