SpotLight.InnerConeAngle Property

Definition

The SpotLight’s inner cone angle, expressed as a semi-vertical angle in radians. Animatable.

public:
 property float InnerConeAngle { float get(); void set(float value); };
float InnerConeAngle();

void InnerConeAngle(float value);
public float InnerConeAngle { get; set; }
var single = spotLight.innerConeAngle;
spotLight.innerConeAngle = single;
Public Property InnerConeAngle As Single

Property Value

Single

float

The SpotLight’s inner cone angle, expressed as a semi-vertical angle in radians.

Examples

_spotLight.InnerConeAngle = (float)(Math.PI/3); 

Remarks

InnerConeAngle is not bound to OuterConeAngle and can be greater than OuterConeAngle.

Applies to