C# Class HelixToolkit.Wpf.LightSetup

An abstract base class for light models.
Inheritance: System.Windows.Media.Media3D.ModelVisual3D
Afficher le fichier Open project: litdev1/LitDev

Méthodes publiques

Свойство Type Description
ShowLightsProperty System.Windows.DependencyProperty

Méthodes protégées

Méthode Description
AddLights ( System.Windows.Media.Media3D.Model3DGroup lightGroup ) : void

Adds the lights to the element.

LightSetup ( ) : System.Windows

Initializes a new instance of the LightSetup class.

OnSetupChanged ( ) : void

The on setup changed.

OnShowLightsChanged ( ) : void

Called when show lights is changed.

SetupChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

The setup changed.

Private Methods

Méthode Description
ShowLightsChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

The show lights changed.

Method Details

AddLights() protected abstract méthode

Adds the lights to the element.
protected abstract AddLights ( System.Windows.Media.Media3D.Model3DGroup lightGroup ) : void
lightGroup System.Windows.Media.Media3D.Model3DGroup /// The light group. ///
Résultat void

LightSetup() protected méthode

Initializes a new instance of the LightSetup class.
protected LightSetup ( ) : System.Windows
Résultat System.Windows

OnSetupChanged() protected méthode

The on setup changed.
protected OnSetupChanged ( ) : void
Résultat void

OnShowLightsChanged() protected méthode

Called when show lights is changed.
protected OnShowLightsChanged ( ) : void
Résultat void

SetupChanged() protected static méthode

The setup changed.
protected static SetupChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject /// The sender. ///
e System.Windows.DependencyPropertyChangedEventArgs /// The event arguments. ///
Résultat void

Property Details

ShowLightsProperty public_oe static_oe property

Identifies the ShowLights dependency property.
public static DependencyProperty,System.Windows ShowLightsProperty
Résultat System.Windows.DependencyProperty