PunctualLight.SetSpotCone

PunctualLight.SetSpotCone method

Sets the cone angles for the Spot light.

public void SetSpotCone(float innerConeAngle, float outerConeAngle)
ParameterTypeDescription
innerConeAngleSingleGets the Angle, in radians, from centre of spotlight where falloff begins. Must be greater than or equal to 0 and less than outerConeAngle.
outerConeAngleSingleGets Angle, in radians, from centre of spotlight where falloff ends. Must be greater than innerConeAngle and less than or equal to PI / 2.0.

See Also