Table of Contents

Class ScreenDuplicationViewport3DX

Namespace
HelixToolkit.Wpf.SharpDX
Assembly
HelixToolkit.Wpf.SharpDX.dll
[TemplatePart(Name = "PART_Canvas", Type = typeof(ContentPresenter))]
public class ScreenDuplicationViewport3DX : ItemsControl, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IContainItemStorage, IAddChild, IViewport3DX, IDisposable
Inheritance
ScreenDuplicationViewport3DX
Implements
Inherited Members

Fields

BackgroundColorProperty

Background Color property.this.RenderHost

public static readonly DependencyProperty BackgroundColorProperty

Field Value

DependencyProperty

EffectsManagerProperty

The EffectsManager property.

public static readonly DependencyProperty EffectsManagerProperty

Field Value

DependencyProperty

MessageTextProperty

The message text property.

public static readonly DependencyProperty MessageTextProperty

Field Value

DependencyProperty

RenderExceptionProperty

The render exception property.

public static readonly DependencyProperty RenderExceptionProperty

Field Value

DependencyProperty

RenderTechniqueProperty

The Render Technique property

public static readonly DependencyProperty RenderTechniqueProperty

Field Value

DependencyProperty

Properties

BackgroundColor

Background Color

public Color BackgroundColor { get; set; }

Property Value

Color

CameraCore

Gets the camera core.

public CameraCore CameraCore { get; }

Property Value

CameraCore

The camera core.

D2DRenderables

Gets the d2 d renderables.

public IEnumerable<SceneNode2D> D2DRenderables { get; }

Property Value

IEnumerable<SceneNode2D>

The d2 d renderables.

EffectsManager

Gets or sets the IEffectsManager.

public IEffectsManager? EffectsManager { get; set; }

Property Value

IEffectsManager

IsInDesignMode

public static bool IsInDesignMode { get; }

Property Value

bool

IsShadowMappingEnabled

Gets a value indicating whether this instance is shadow mapping enabled.

public bool IsShadowMappingEnabled { get; }

Property Value

bool

true if this instance is shadow mapping enabled; otherwise, false.

MessageText

Gets or sets the message text.

public string? MessageText { get; set; }

Property Value

string

The message text.

RenderException

Gets or sets the Exception that occured at rendering subsystem.

public Exception? RenderException { get; set; }

Property Value

Exception

RenderHost

Gets the render host.

public IRenderHost? RenderHost { get; }

Property Value

IRenderHost

The render host.

RenderTechnique

Gets or sets value for the shading model shading is used

public IRenderTechnique? RenderTechnique { get; set; }

Property Value

IRenderTechnique

true if deferred shading is enabled; otherwise, false.

Renderables

Gets the renderables.

public IEnumerable<SceneNode> Renderables { get; }

Property Value

IEnumerable<SceneNode>

The renderables.

ViewportRectangle

Gets the viewport rectangle.

public Rectangle ViewportRectangle { get; }

Property Value

Rectangle

The viewport rectangle.

WorldMatrix

public Matrix4x4 WorldMatrix { get; }

Property Value

Matrix4x4

Methods

Attach(IRenderHost)

Attaches the specified host.

public void Attach(IRenderHost host)

Parameters

host IRenderHost

The host.

Detach()

Detaches this instance.

public void Detach()

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Dispose(bool)

protected virtual void Dispose(bool disposing)

Parameters

disposing bool

InvalidateRender()

Invalidates the render.

public void InvalidateRender()

InvalidateSceneGraph()

Invalidates the scene graph.

public void InvalidateSceneGraph()

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().

public override void OnApplyTemplate()

Update(TimeSpan)

public void Update(TimeSpan timeStamp)

Parameters

timeStamp TimeSpan

Events

RenderExceptionOccurred

Fired whenever an exception occurred at rendering subsystem.

public event EventHandler<RelayExceptionEventArgs> RenderExceptionOccurred

Event Type

EventHandler<RelayExceptionEventArgs>