Click or drag to resize

SunSetPosition Method (DateTime, Double, Double)

Sets position of the sun based on physical location and time.

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public void SetPosition(
	DateTime when,
	double latitudeDegrees,
	double longitudeDegrees
)

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 Information

Rhino for Windows

Supported in: 6.2
See Also