RhinoCommon API
LightCreateSunLight Method (Sun) |
Constructs a light which simulates a Sun.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public static Light CreateSunLight( Sun sun )
Public Shared Function CreateSunLight ( sun As Sun ) As Light
Parameters
- sun
- Type: Rhino.RenderSun
A Sun object from the Rhino.Render namespace.
Return Value
Type: LightA light.

Rhino for Windows
Supported in: 6.14