# ModelRenderSun class

Namespace: [Grasshopper.Rhinoceros.Render](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.rhinoceros.render.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
[TypeName("Render Sun")]
[TypeDescription("Rhino sun")]
public sealed class ModelRenderSun : ModelContent, IGH_PreviewData
```

Represents a Rhino sun. Wraps the functionality of the [Sun](https://mcneel-apidocs-rhinocommon-7f6eb10c6967.herokuapp.com/api/rhinocommon/type/rhino.render.sun/) type.

## Constructors

- [ModelRenderSun](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modelrendersun/ctor.md): (2 overloads)

## Properties

- [Altitude](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modelrendersun/altitude.md)
- [Attribs](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modelrendersun/attribs.md)
- [Azimuth](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modelrendersun/azimuth.md)
- [IGH_PreviewData.ClippingBox](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modelrendersun/clippingbox.md)
- [DateTime](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modelrendersun/datetime.md)
- [DaylightSavingEnabled](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modelrendersun/daylightsavingenabled.md)
- [DaylightSavingMinutes](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modelrendersun/daylightsavingminutes.md)
- [DefaultAttributes](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modelrendersun/defaultattributes.md)
- [Direction](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modelrendersun/direction.md)
- [Enabled](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modelrendersun/enabled.md)
- [Intensity](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modelrendersun/intensity.md)
- [Latitude](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modelrendersun/latitude.md)
- [Longitude](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modelrendersun/longitude.md)
- [Manual](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modelrendersun/manual.md)
- [North](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modelrendersun/north.md)
- [TimeZone](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modelrendersun/timezone.md)

## Methods

- [Cast](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modelrendersun/cast.md): (static)
- [CastTo<T>](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modelrendersun/castto.md)
- [IGH_PreviewData.DrawViewportMeshes](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modelrendersun/drawviewportmeshes.md)
- [IGH_PreviewData.DrawViewportWires](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modelrendersun/drawviewportwires.md)
- [ToAttributes](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modelrendersun/toattributes.md)

## Convertors

- [operator implicit](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.render.modelrendersun/op-implicit.md): (static)

## Inherited Members

- From [ModelContent](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent.md): [Id](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/id.md), [IsReferencedData](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/isreferenceddata.md), [IsReferencedDataLoaded](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/isreferenceddataloaded.md), [IsValid](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/isvalid.md), [IsValidWhyNot](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/isvalidwhynot.md), [Name](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/name.md), [Notes](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/notes.md), [Parent](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/parent.md), [Path](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/path.md), [Tags](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/tags.md), [AsFrozen](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/asfrozen.md), [Equals](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/equals.md), [GetHashCode](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/gethashcode.md), [InternaliseData](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/internalisedata.md), [LoadReferencedData](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/loadreferenceddata.md), [Read](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/read.md), [RenderItem](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/renderitem.md), [RuntimeId](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/runtimeid.md), [ToString](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/tostring.md), [TooltipString](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/tooltipstring.md), [UnloadReferencedData](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/unloadreferenceddata.md), [Write](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modelcontent/write.md)
- From [ModelData](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modeldata.md): [Serial](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modeldata/serial.md), [DisplayName](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modeldata/displayname.md), [TypeDescription](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modeldata/typedescription.md), [TypeName](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modeldata/typename.md), [Equals](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modeldata/equals.md), [ToDetails](https://developer.rhino3d.com/api/gh1/type/grasshopper.rhinoceros.modeldata/todetails.md)
