Class GroupElement3D
- Namespace
- HelixToolkit.WinUI.SharpDX
- Assembly
- HelixToolkit.WinUI.SharpDX.dll
[ContentProperty(Name = "Children")]
public abstract class GroupElement3D : Element3D, IEquatable<DependencyObject>, IAnimationObject, IVisualElement, IVisualElement2, IEquatable<UIElement>, IEquatable<FrameworkElement>, IWinRTObject, IDynamicInterfaceCastable, IEquatable<Control>, IDisposable, IVisible
- Inheritance
-
GroupElement3D
- Implements
-
IWinRTObject
- 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.
Items
public ItemCollection Items { get; }
Property Value
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
OnApplyTemplate()
Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in your app. Override this method to influence the default post-template logic of a class.
protected override void OnApplyTemplate()
OnCreateSceneNode()
Called when [create scene node].
protected override SceneNode OnCreateSceneNode()