Udostępnij za pośrednictwem


SpotLight.OuterConeAngle Property

Definition

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

Single

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.

Applies to