Microsoft DirectX 9.0 SDK Update (October 2004)

Light.OuterConeAngle Property

Language:

Note: This documentation is preliminary and is subject to change.

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

Definition

Visual Basic .NET Public Property OuterConeAngle As Single
C# public float OuterConeAngle { get; set; }
Managed C++ public: __property float get_OuterConeAngle();
public: __property void set_OuterConeAngle(float);
JScript .NET 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


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center