Table of Contents

Class ScreenDuplicationNode

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

Constructors

ScreenDuplicationNode()

Initializes a new instance of the ScreenDuplicationNode class.

public ScreenDuplicationNode()

Properties

CaptureRectangle

Gets or sets the capture rectangle.

public Rectangle CaptureRectangle { get; set; }

Property Value

Rectangle

The capture rectangle.

DisplayIndex

Gets or sets the display index.

public int DisplayIndex { get; set; }

Property Value

int

The display index.

ShowMouseCursor

Gets or sets a value indicating whether [show mouse cursor].

public bool ShowMouseCursor { get; set; }

Property Value

bool

true if [show mouse cursor]; otherwise, false.

StretchToFill

Gets or sets a value indicating whether [stretch to fill].

public bool StretchToFill { get; set; }

Property Value

bool

true if [stretch to fill]; otherwise, false.

Methods

OnCreateRenderCore()

Called when [create render core].

protected override RenderCore OnCreateRenderCore()

Returns

RenderCore

OnCreateRenderTechnique(IEffectsManager)

Override this function to set render technique during Attach Host.

If OnSetRenderTechnique is set, then OnSetRenderTechnique instead of OnCreateRenderTechnique(IEffectsManager) function will be called.

protected override IRenderTechnique? OnCreateRenderTechnique(IEffectsManager effectsManager)

Parameters

effectsManager IEffectsManager

Returns

IRenderTechnique

Return RenderTechnique

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