Toolkit.WithSpotCone
Toolkit.WithSpotCone method
Sets the cone angles for the Spot light.
public static PunctualLight WithSpotCone(this PunctualLight light, float innerConeAngle,
float outerConeAngle)
| Parameter | Type | Description |
|---|---|---|
| light | PunctualLight | This PunctualLight instance. |
| innerConeAngle | Single | Gets the Angle, in radians, from centre of spotlight where falloff begins. Must be greater than or equal to 0 and less than outerConeAngle. |
| outerConeAngle | Single | Gets Angle, in radians, from centre of spotlight where falloff ends. Must be greater than innerConeAngle and less than or equal to PI / 2.0. |
Return Value
This PunctualLight instance.
See Also
- class PunctualLight
- class Toolkit
- namespace Aspose.CAD.FileFormats.GLB.ToolKit
- assembly Aspose.CAD