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
trueif [show mouse cursor]; otherwise,false.
StretchToFill
Gets or sets a value indicating whether [stretch to fill].
public bool StretchToFill { get; set; }
Property Value
- bool
trueif [stretch to fill]; otherwise,false.
Methods
OnCreateRenderCore()
Called when [create render core].
protected override RenderCore OnCreateRenderCore()
Returns
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
effectsManagerIEffectsManager
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
contextHitTestContextThe context.
totalModelMatrixMatrix4x4The total model matrix.
hitsList<HitTestResult>The hits.