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
EffectsManagerProperty
The EffectsManager property.
public static readonly DependencyProperty EffectsManagerProperty
Field Value
MessageTextProperty
The message text property.
public static readonly DependencyProperty MessageTextProperty
Field Value
RenderExceptionProperty
The render exception property.
public static readonly DependencyProperty RenderExceptionProperty
Field Value
RenderTechniqueProperty
The Render Technique property
public static readonly DependencyProperty RenderTechniqueProperty
Field Value
Properties
BackgroundColor
Background Color
public Color BackgroundColor { get; set; }
Property Value
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
IsInDesignMode
public static bool IsInDesignMode { get; }
Property Value
IsShadowMappingEnabled
Gets a value indicating whether this instance is shadow mapping enabled.
public bool IsShadowMappingEnabled { get; }
Property Value
- bool
trueif 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
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
trueif 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
Methods
Attach(IRenderHost)
Attaches the specified host.
public void Attach(IRenderHost host)
Parameters
hostIRenderHostThe 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
disposingbool
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
timeStampTimeSpan
Events
RenderExceptionOccurred
Fired whenever an exception occurred at rendering subsystem.
public event EventHandler<RelayExceptionEventArgs> RenderExceptionOccurred