Table of Contents

Class Element3DCore

Namespace
HelixToolkit.WinUI.SharpDX.Model
Assembly
HelixToolkit.WinUI.SharpDX.dll

External Wrapper core to be used for different platform

public abstract class Element3DCore : Control, IEquatable<DependencyObject>, IAnimationObject, IVisualElement, IVisualElement2, IEquatable<UIElement>, IEquatable<FrameworkElement>, IWinRTObject, IDynamicInterfaceCastable, IEquatable<Control>, IDisposable
Inheritance
Element3DCore
Implements
IWinRTObject
Derived
Inherited Members

Properties

Bounds

Gets the bounds.

public BoundingBox Bounds { get; }

Property Value

BoundingBox

The bounds.

BoundsSphere

Gets the bounds sphere.

public BoundingSphere BoundsSphere { get; }

Property Value

BoundingSphere

The bounds sphere.

BoundsSphereWithTransform

Gets the bounds sphere with transform.

public BoundingSphere BoundsSphereWithTransform { get; }

Property Value

BoundingSphere

The bounds sphere with transform.

BoundsWithTransform

Gets the bounds with transform.

public BoundingBox BoundsWithTransform { get; }

Property Value

BoundingBox

The bounds with transform.

GUID

public Guid GUID { get; }

Property Value

Guid

IsAttached

public bool IsAttached { get; }

Property Value

bool

SceneNode

public SceneNode SceneNode { get; }

Property Value

SceneNode

TotalModelMatrix

public Matrix4x4 TotalModelMatrix { get; }

Property Value

Matrix4x4

Visible

public bool Visible { get; }

Property Value

bool

Methods

AssignDefaultValuesToSceneNode(SceneNode)

protected virtual void AssignDefaultValuesToSceneNode(SceneNode node)

Parameters

node SceneNode

Dispose()

Releases unmanaged and - optionally - managed resources.

public void Dispose()

Dispose(bool)

Releases unmanaged and - optionally - managed resources.

protected virtual void Dispose(bool disposing)

Parameters

disposing bool

true to release both managed and unmanaged resources; false to release only unmanaged resources.

HitTest(HitTestContext?, ref List<HitTestResult>)

Hits the test.

public virtual bool HitTest(HitTestContext? context, ref List<HitTestResult> hits)

Parameters

context HitTestContext

The context.

hits List<HitTestResult>

The hits.

Returns

bool

InvalidateRender()

public void InvalidateRender()

OnCreateSceneNode()

Called when [create scene node].

protected abstract SceneNode OnCreateSceneNode()

Returns

SceneNode

Events

OnSceneNodeCreated

Occurs when [on scene node created]. Make sure to hook up this event at the top of constructor of class, otherwise may miss the event.

public event EventHandler<Element3DCore.SceneNodeCreatedEventArgs>? OnSceneNodeCreated

Event Type

EventHandler<Element3DCore.SceneNodeCreatedEventArgs>

Operators

explicit operator SceneNode?(Element3DCore)

public static explicit operator SceneNode?(Element3DCore core)

Parameters

core Element3DCore

Returns

SceneNode