Class SunPosition
Represents the position of the sun in scripting
Namespace: Scripting
Syntax
public class SunPosition
Constructors
SunPosition(Double, Double)
Initializes a new instance of the SunPosition class.
Declaration
public SunPosition(double azimuthInDegreesFromNorth, double zenithInDegrees)
Parameters
Type | Name | Description |
---|---|---|
System.Double | azimuthInDegreesFromNorth | The azimuth in degrees from north. |
System.Double | zenithInDegrees | The zenith in degrees. |
Properties
Azimuth
Gets the azimuth of the sun
Declaration
public Azimuth Azimuth { get; }
Property Value
Type | Description |
---|---|
Azimuth |
Zenith
Gets sun zenith angle
Declaration
public Angle Zenith { get; }
Property Value
Type | Description |
---|---|
Angle |