Table of Contents

Class SunLight

Namespace
HelixToolkit.Wpf
Assembly
HelixToolkit.Wpf.dll

A visual element that contains a "sunlight" light model.

public class SunLight : LightSetup, IAnimatable, IAddChild
Inheritance
SunLight
Implements
Inherited Members
Extension Methods

Fields

AltitudeProperty

Identifies the Altitude dependency property.

public static readonly DependencyProperty AltitudeProperty

Field Value

DependencyProperty

AmbientProperty

Identifies the Ambient dependency property.

public static readonly DependencyProperty AmbientProperty

Field Value

DependencyProperty

AzimuthProperty

Identifies the Azimuth dependency property.

public static readonly DependencyProperty AzimuthProperty

Field Value

DependencyProperty

BrightnessProperty

Identifies the Brightness dependency property.

public static readonly DependencyProperty BrightnessProperty

Field Value

DependencyProperty

Properties

Altitude

Gets or sets the altitude angle (degrees).

public double Altitude { get; set; }

Property Value

double

The altitude.

Ambient

Gets or sets the ambient lightness.

public double Ambient { get; set; }

Property Value

double

The ambient.

Azimuth

Gets or sets the azimuth angle (degrees).

public double Azimuth { get; set; }

Property Value

double

The azimuth.

Brightness

Gets or sets the brightness.

public double Brightness { get; set; }

Property Value

double

The brightness.

Methods

AddLights(Model3DGroup)

Adds the lights to the element.

protected override void AddLights(Model3DGroup lightGroup)

Parameters

lightGroup Model3DGroup

The light group.