Table of Contents

Class ViewBoxModel3D

Namespace
HelixToolkit.Wpf.SharpDX
Assembly
HelixToolkit.Wpf.SharpDX.dll

Viewbox replacement for Viewport using swapchain rendering.

To replace box texture (such as text, colors), bind to custom material with different diffuseMap.

Create a image with 1 row and 6 evenly distributed columns. Each column occupies one box face. The face order is Front, Back, Down, Up, Left, Right

public class ViewBoxModel3D : ScreenSpacedElement3D, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IDisposable, IHitable, IVisible
Inheritance
ViewBoxModel3D
Implements
Inherited Members
Extension Methods

Fields

EnableEdgeClickProperty

The enable edge click property

public static readonly DependencyProperty EnableEdgeClickProperty

Field Value

DependencyProperty

UpDirectionProperty

public static readonly DependencyProperty UpDirectionProperty

Field Value

DependencyProperty

ViewBoxTextureProperty

public static readonly DependencyProperty ViewBoxTextureProperty

Field Value

DependencyProperty

Properties

EnableEdgeClick

Gets or sets a value indicating whether [enable edge click].

public bool EnableEdgeClick { get; set; }

Property Value

bool

true if [enable edge click]; otherwise, false.

UpDirection

Gets or sets up direction.

public Vector3D UpDirection { get; set; }

Property Value

Vector3D

Up direction.

ViewBoxTexture

public TextureModel? ViewBoxTexture { get; set; }

Property Value

TextureModel

Methods

AssignDefaultValuesToSceneNode(SceneNode)

protected override void AssignDefaultValuesToSceneNode(SceneNode node)

Parameters

node SceneNode

OnCreateSceneNode()

Called when [create scene node].

protected override SceneNode OnCreateSceneNode()

Returns

SceneNode