Share via


Light.InnerConeAngle Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the angle, in radians, of a spotlight's inner cone; that is, the fully illuminated spotlight cone.

Definition

Visual Basic Public Property InnerConeAngle As Single
C# public float InnerConeAngle { get; set; }
C++ public:
property float InnerConeAngle {
        float get();
        void set(float value);
}
JScript public function get InnerConeAngle() : float
public function set InnerConeAngle(float);

Property Value

System.Single
Value that indicates the angle of the spotlight's inner cone.

This property is read/write. 

Remarks

This value must be in the range of 0 through the value specified by OuterConeAngle.

Exceptions

InvalidCallException

The property value is invalid.