C# Класс HelixToolkit.Wpf.ScreenSpaceVisual3D

An abstract base class for visuals that use screen space dimensions when rendering.
Наследование: RenderingModelVisual3D
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
ColorProperty System.Windows.DependencyProperty
DepthOffsetProperty System.Windows.DependencyProperty
PointsProperty System.Windows.DependencyProperty

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

GeometryChanged() защищенный статический Метод

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. ///
Результат void

OnCompositionTargetRendering() защищенный Метод

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. ///
Результат void

OnVisualParentChanged() защищенный Метод

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. ///
Результат void

ScreenSpaceVisual3D() защищенный Метод

Initializes a new instance of the ScreenSpaceVisual3D class.
protected ScreenSpaceVisual3D ( ) : System.Collections.Generic
Результат System.Collections.Generic

UpdateGeometry() защищенный абстрактный Метод

Updates the geometry.
protected abstract UpdateGeometry ( ) : void
Результат void

UpdateTransforms() защищенный абстрактный Метод

Updates the transforms.
protected abstract UpdateTransforms ( ) : bool
Результат bool

Описание свойств

ColorProperty публичное статическое свойство

Identifies the Color dependency property.
public static DependencyProperty,System.Windows ColorProperty
Результат System.Windows.DependencyProperty

DepthOffsetProperty публичное статическое свойство

Identifies the DepthOffset dependency property.
public static DependencyProperty,System.Windows DepthOffsetProperty
Результат System.Windows.DependencyProperty

PointsProperty публичное статическое свойство

Identifies the Points dependency property.
public static DependencyProperty,System.Windows PointsProperty
Результат System.Windows.DependencyProperty