Table of Contents

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

DependencyProperty

ItemsSourceProperty

ItemsSource for binding to collection. Please use ObservableElement3DCollection for observable, otherwise may cause memory leak.

public static readonly DependencyProperty ItemsSourceProperty

Field Value

DependencyProperty

OctreeManagerProperty

Add octree manager to use octree hit test.

public static readonly DependencyProperty OctreeManagerProperty

Field Value

DependencyProperty

Properties

AlwaysHittable

Gets or sets a value indicating whether [always hittable].

public bool AlwaysHittable { get; set; }

Property Value

bool

true if [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

IList<Element3D>

OctreeManager

public IOctreeManagerWrapper? OctreeManager { get; set; }

Property Value

IOctreeManagerWrapper

Methods

OnCreateSceneNode()

Called when [create scene node].

protected override SceneNode OnCreateSceneNode()

Returns

SceneNode