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

A visual element that contains a billboard (a quadrilateral that always faces camera). The size of the billboard is defined in screen space.
Наследование: RenderingModelVisual3D
Показать файл Открыть проект

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

Свойство Тип Описание
DepthOffsetProperty System.Windows.DependencyProperty
HeightProperty System.Windows.DependencyProperty
HorizontalAlignmentProperty System.Windows.DependencyProperty
MaterialProperty System.Windows.DependencyProperty
PositionProperty System.Windows.DependencyProperty
VerticalAlignmentProperty System.Windows.DependencyProperty
WidthProperty System.Windows.DependencyProperty

Открытые методы

Метод Описание
BillboardVisual3D ( ) : System.Windows

Initializes a new instance of the BillboardVisual3D class.

OnMaterialChanged ( ) : void

The on material changed.

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

Метод Описание
GeometryChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

The geometry 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.

UpdateGeometry ( ) : void

Updates the geometry.

UpdateTransforms ( ) : bool

Updates the transforms.

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

Метод Описание
MaterialChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

The color changed.

OnGeometryChanged ( ) : void

Called when geometry properties have changed.

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

BillboardVisual3D() публичный Метод

Initializes a new instance of the BillboardVisual3D class.
public BillboardVisual3D ( ) : System.Windows
Результат System.Windows

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

The geometry changed.
protected static GeometryChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject /// The sender. ///
e System.Windows.DependencyPropertyChangedEventArgs /// The event arguments. ///
Результат 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

OnMaterialChanged() публичный Метод

The on material changed.
public OnMaterialChanged ( ) : void
Результат 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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