Table of Contents

Class SortingGroupNode

Namespace
HelixToolkit.SharpDX.Model.Scene
Assembly
HelixToolkit.SharpDX.dll
public class SortingGroupNode : GroupNode, IDisposable, IComparable<SceneNode>, IAnimationNode, IHitable
Inheritance
SortingGroupNode
Implements
Inherited Members
Extension Methods

Properties

EnableSorting

Gets or sets a value indicating whether [enable sorting].

public bool EnableSorting { get; set; }

Property Value

bool

true if [enable sorting]; otherwise, false.

LastSortTime

Gets or sets the last sort time.

public long LastSortTime { get; }

Property Value

long

The last sort time.

SortTransparentOnly

Gets or sets a value indicating whether [sort transparent only].

public bool SortTransparentOnly { get; set; }

Property Value

bool

true if [sort transparent only]; otherwise, false.

SortingInterval

Gets or sets the sorting interval by milliseconds. Default is 500ms.

public int SortingInterval { get; set; }

Property Value

int

The sorting interval.

SortingMethod

Gets or sets the sorting method.

public SortingMethod SortingMethod { get; set; }

Property Value

SortingMethod

The sorting method.

Methods

GetDistance(SceneNode, ref Vector3)

protected float GetDistance(SceneNode node, ref Vector3 cameraPos)

Parameters

node SceneNode
cameraPos Vector3

Returns

float

OnAttach(IEffectsManager)

Called when [attach].

protected override bool OnAttach(IEffectsManager effectsManager)

Parameters

effectsManager IEffectsManager

The effectsManager.

Returns

bool

Sort(IList<SceneNode>, RenderContext)

protected virtual void Sort(IList<SceneNode> nodes, RenderContext context)

Parameters

nodes IList<SceneNode>
context RenderContext

UpdateNotRender(RenderContext)

Updates the not render.

public override void UpdateNotRender(RenderContext context)

Parameters

context RenderContext

The context.