Method SetSpotAngle
SetSpotAngle(float, float)
Set the spot light angle and inner spot percent. We don't use Light.innerSpotAngle.
Declaration
public void SetSpotAngle(float angle, float innerSpotPercent = 0)
Parameters
Type | Name | Description |
---|---|---|
float | angle | inner spot angle in degree |
float | innerSpotPercent | inner spot angle in percent |