SunSetPosition Method (DateTime, Double, Double) |
Sets position of the sun based on physical location and time.
Namespace:
Rhino.Render
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic void SetPosition(
DateTime when,
double latitudeDegrees,
double longitudeDegrees
)
Public Sub SetPosition (
when As DateTime,
latitudeDegrees As Double,
longitudeDegrees As Double
)
Parameters
- when
- Type: SystemDateTime
A DateTime instance.
If the date Kind is DateTimeKind.Local,
or DateTimeKind.Unspecified, the date is considered local.
- latitudeDegrees
- Type: SystemDouble
The latitude, in degrees, of the location on Earth. - longitudeDegrees
- Type: SystemDouble
The longitude, in degrees, of the location on Earth.
Version InformationRhino for Windows
Supported in: 6.8
See Also