SpotLightDistribution(Double, Double, Double)
Constructor
Description:
Creates a spot light distribution object with the given values.
Creates a spot light distribution object with the given values.
Syntax
public SpotLightDistribution(
double spotBeamAngle,
double spotFieldAngle,
double tiltAngle
)
Parameters
| Parameter | Type | Description |
|---|---|---|
| spotBeamAngle | Double | The spot beam angle as a numerical value in radians between 0 and (8/9)*PI. |
| spotFieldAngle | Double | The spot field angle as a numerical value in radians between 0 and (8/9)*PI. |
| tiltAngle | Double | The tilt angle as a numerical value in radians between -PI and PI. |
Return Value
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The angle is not valid because it is not between 1.0e-2 and 160.0. -or- The angle is not valid because it is not between -180.0 and 180.0. |