Class GroupElement3D
- Namespace
- HelixToolkit.Wpf.SharpDX
- Assembly
- HelixToolkit.Wpf.SharpDX.dll
Supports both ItemsSource binding and Xaml children. Binds with ObservableElement3DCollection
public abstract class GroupElement3D : Element3D, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IDisposable, IVisible
- Inheritance
-
GroupElement3D
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
GroupElement3D()
Initializes a new instance of the GroupElement3D class.
public GroupElement3D()
Fields
AlwaysHittableProperty
public static readonly DependencyProperty AlwaysHittableProperty
Field Value
ItemsSourceProperty
ItemsSource for binding to collection. Please use ObservableElement3DCollection for observable, otherwise may cause memory leak.
public static readonly DependencyProperty ItemsSourceProperty
Field Value
OctreeManagerProperty
Add octree manager to use octree hit test.
public static readonly DependencyProperty OctreeManagerProperty
Field Value
Properties
AlwaysHittable
Gets or sets a value indicating whether [always hittable].
public bool AlwaysHittable { get; set; }
Property Value
- bool
trueif [always hittable]; otherwise,false.
Children
Gets the children.
public ObservableElement3DCollection Children { get; }
Property Value
- ObservableElement3DCollection
The children.
ItemsSource
ItemsSource for binding to collection. Please use ObservableElement3DCollection for observable, otherwise may cause memory leak.
public IList<Element3D>? ItemsSource { get; set; }
Property Value
OctreeManager
public IOctreeManagerWrapper? OctreeManager { get; set; }
Property Value
Methods
OnCreateSceneNode()
Called when [create scene node].
protected override SceneNode OnCreateSceneNode()