Share via


Light.OuterConeAngle Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the angle, in radians, that defines the outer edge of a spotlight's outer cone.

Definition

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

Property Value

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

This property is read/write. 

Remarks

Points outside of the cone are not lit by the spotlight.

This value must fall between 0 and pi.

Exceptions

InvalidCallException

The property value is invalid.

See Also