Table of Contents

Class ContinuousRenderNode

Namespace
HelixToolkit.SharpDX.Model.Scene
Assembly
HelixToolkit.SharpDX.dll

Use this node to keep update rendering in each frame.

Default behavior for render host is lazy rendering. Only property changes trigger a render inside render loop. However, sometimes user want to keep updating rendering for each frame such as doing shader animation using TimeStamp. Use this node to invalidate rendering and keep render host busy.

public sealed class ContinuousRenderNode : SceneNode, IDisposable, IComparable<SceneNode>, IAnimationNode
Inheritance
ContinuousRenderNode
Implements
Inherited Members
Extension Methods

Methods

CanHitTest(HitTestContext?)

Determines whether this instance [can hit test] the specified context.

protected override bool CanHitTest(HitTestContext? context)

Parameters

context HitTestContext

The context.

Returns

bool

true if this instance [can hit test] the specified context; otherwise, false.

OnCreateRenderCore()

Called when [create render core].

protected override RenderCore OnCreateRenderCore()

Returns

RenderCore

OnHitTest(HitTestContext?, Matrix4x4, ref List<HitTestResult>)

Called when [hit test].

protected override bool OnHitTest(HitTestContext? context, Matrix4x4 totalModelMatrix, ref List<HitTestResult> hits)

Parameters

context HitTestContext

The context.

totalModelMatrix Matrix4x4

The total model matrix.

hits List<HitTestResult>

The hits.

Returns

bool