C# Class 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.
Inheritance: RenderingModelVisual3D
Afficher le fichier Open project: litdev1/LitDev

Méthodes publiques

Свойство Type Description
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

Méthodes publiques

Méthode Description
BillboardVisual3D ( ) : System.Windows

Initializes a new instance of the BillboardVisual3D class.

OnMaterialChanged ( ) : void

The on material changed.

Méthodes protégées

Méthode Description
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.

Private Methods

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

The color changed.

OnGeometryChanged ( ) : void

Called when geometry properties have changed.

Method Details

BillboardVisual3D() public méthode

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

GeometryChanged() protected static méthode

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. ///
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

OnMaterialChanged() public méthode

The on material changed.
public OnMaterialChanged ( ) : void
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

UpdateGeometry() protected méthode

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

UpdateTransforms() protected méthode

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

Property Details

DepthOffsetProperty public_oe static_oe property

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

HeightProperty public_oe static_oe property

Identifies the Height dependency property.
public static DependencyProperty,System.Windows HeightProperty
Résultat System.Windows.DependencyProperty

HorizontalAlignmentProperty public_oe static_oe property

Identifies the HorizontalAlignment dependency property.
public static DependencyProperty,System.Windows HorizontalAlignmentProperty
Résultat System.Windows.DependencyProperty

MaterialProperty public_oe static_oe property

Identifies the Material dependency property.
public static DependencyProperty,System.Windows MaterialProperty
Résultat System.Windows.DependencyProperty

PositionProperty public_oe static_oe property

Identifies the Position dependency property.
public static DependencyProperty,System.Windows PositionProperty
Résultat System.Windows.DependencyProperty

VerticalAlignmentProperty public_oe static_oe property

Identifies the VerticalAlignment dependency property.
public static DependencyProperty,System.Windows VerticalAlignmentProperty
Résultat System.Windows.DependencyProperty

WidthProperty public_oe static_oe property

Identifies the Width dependency property.
public static DependencyProperty,System.Windows WidthProperty
Résultat System.Windows.DependencyProperty