Class BoundingBoxVisual3D
- Namespace
- HelixToolkit.Wpf
- Assembly
- HelixToolkit.Wpf.dll
A visual element that shows the edges of the specified bounding box.
public class BoundingBoxVisual3D : ModelVisual3D, IAnimatable, IAddChild
- Inheritance
-
BoundingBoxVisual3D
- Implements
- Inherited Members
- Extension Methods
Fields
BoundingBoxProperty
Identifies the BoundingBox dependency property.
public static readonly DependencyProperty BoundingBoxProperty
Field Value
DiameterProperty
Identifies the Diameter dependency property.
public static readonly DependencyProperty DiameterProperty
Field Value
FillProperty
Identifies the Fill dependency property.
public static readonly DependencyProperty FillProperty
Field Value
Properties
BoundingBox
Gets or sets the bounding box.
public Rect3D BoundingBox { get; set; }
Property Value
- Rect3D
The bounding box.
Diameter
Gets or sets the diameter.
public double Diameter { get; set; }
Property Value
- double
The diameter.
Fill
Gets or sets the brush of the bounding box.
public Brush Fill { get; set; }
Property Value
- Brush
The brush.
Methods
OnBoxChanged()
Updates the box.
protected virtual void OnBoxChanged()
OnFillChanged()
Called when the fill changed.
protected virtual void OnFillChanged()