Table of Contents

Class AnaglyphEffect

Namespace
HelixToolkit.Wpf
Assembly
HelixToolkit.Wpf.dll

Provides an anaglyph blending effect.

public sealed class AnaglyphEffect : ShaderEffect, IAnimatable
Inheritance
AnaglyphEffect
Implements
Inherited Members
Extension Methods

Remarks

Usage:

  1. Add the effect to the LEFT EYE UIElement.
  2. Set RightInput to a VisualBrush of the RIGHT EYE UIElement. See the AnaglyphView3D for an example.

Constructors

AnaglyphEffect()

Initializes a new instance of the AnaglyphEffect class.

public AnaglyphEffect()

Fields

LeftInputProperty

Identifies the LeftInput dependency property.

public static readonly DependencyProperty LeftInputProperty

Field Value

DependencyProperty

MethodProperty

Identifies the Method dependency property.

public static readonly DependencyProperty MethodProperty

Field Value

DependencyProperty

RightInputProperty

Identifies the RightInput dependency property.

public static readonly DependencyProperty RightInputProperty

Field Value

DependencyProperty

Properties

LeftInput

Gets or sets the left input brush.

public Brush LeftInput { get; set; }

Property Value

Brush

The left input.

Method

Gets or sets the anaglyph method.

public AnaglyphMethod Method { get; set; }

Property Value

AnaglyphMethod

The method.

Offset

Gets or sets the horizontal offset.

public float Offset { get; set; }

Property Value

float

RightInput

Gets or sets the right input brush.

public Brush RightInput { get; set; }

Property Value

Brush

The right input.