C# Class HelixToolkit.Wpf.ScreenSpaceVisual3D

An abstract base class for visuals that use screen space dimensions when rendering.
Inheritance: RenderingModelVisual3D
Afficher le fichier Open project: litdev1/LitDev

Méthodes publiques

Свойство Type Description
ColorProperty System.Windows.DependencyProperty
DepthOffsetProperty System.Windows.DependencyProperty
PointsProperty System.Windows.DependencyProperty

Méthodes protégées

Méthode Description
GeometryChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Called when geometry properties have changed.

OnCompositionTargetRendering ( object sender, System.Windows.Media.RenderingEventArgs e ) : void

The composition target_ rendering.

OnVisualParentChanged ( DependencyObject oldParent ) : void

Called when the parent of the 3-D visual object is changed.

ScreenSpaceVisual3D ( ) : System.Collections.Generic

Initializes a new instance of the ScreenSpaceVisual3D class.

UpdateGeometry ( ) : void

Updates the geometry.

UpdateTransforms ( ) : bool

Updates the transforms.

Private Methods

Méthode Description
ColorChanged ( ) : void

Changes the material when the color changed.

ColorChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Changes the material when the color changed.

UpdateClipping ( ) : void

Updates the clipping object.

Method Details

GeometryChanged() protected static méthode

Called when geometry properties have changed.
protected static GeometryChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
sender object /// The sender. ///
e System.Windows.DependencyPropertyChangedEventArgs /// The instance containing the event data. ///
Résultat void

OnCompositionTargetRendering() protected méthode

The composition target_ rendering.
protected OnCompositionTargetRendering ( object sender, System.Windows.Media.RenderingEventArgs e ) : void
sender object /// The sender. ///
e System.Windows.Media.RenderingEventArgs /// The event arguments. ///
Résultat void

OnVisualParentChanged() protected méthode

Called when the parent of the 3-D visual object is changed.
protected OnVisualParentChanged ( DependencyObject oldParent ) : void
oldParent System.Windows.DependencyObject /// A value of type that represents the previous parent of the object. If the object did not have a previous parent, the value of the parameter is null. ///
Résultat void

ScreenSpaceVisual3D() protected méthode

Initializes a new instance of the ScreenSpaceVisual3D class.
protected ScreenSpaceVisual3D ( ) : System.Collections.Generic
Résultat System.Collections.Generic

UpdateGeometry() protected abstract méthode

Updates the geometry.
protected abstract UpdateGeometry ( ) : void
Résultat void

UpdateTransforms() protected abstract méthode

Updates the transforms.
protected abstract UpdateTransforms ( ) : bool
Résultat bool

Property Details

ColorProperty public_oe static_oe property

Identifies the Color dependency property.
public static DependencyProperty,System.Windows ColorProperty
Résultat System.Windows.DependencyProperty

DepthOffsetProperty public_oe static_oe property

Identifies the DepthOffset dependency property.
public static DependencyProperty,System.Windows DepthOffsetProperty
Résultat System.Windows.DependencyProperty

PointsProperty public_oe static_oe property

Identifies the Points dependency property.
public static DependencyProperty,System.Windows PointsProperty
Résultat System.Windows.DependencyProperty