Table of Contents

Class ViewBoxNode

Namespace
HelixToolkit.SharpDX.Model.Scene
Assembly
HelixToolkit.SharpDX.dll
public class ViewBoxNode : ScreenSpacedNode, IDisposable, IComparable<SceneNode>, IAnimationNode, IHitable
Inheritance
ViewBoxNode
Implements
Inherited Members
Extension Methods

Constructors

ViewBoxNode()

public ViewBoxNode()

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 Vector3 UpDirection { get; set; }

Property Value

Vector3

Up direction.

ViewBoxTexture

Gets or sets the view box texture.

public TextureModel? ViewBoxTexture { get; set; }

Property Value

TextureModel

The view box texture.

Methods

CanHitTest(HitTestContext?)

Determines whether this instance [can hit test] the specified context.

protected override bool CanHitTest(HitTestContext? context)

Parameters

context HitTestContext

The context.

Returns

bool

true if this instance [can hit test] the specified context; otherwise, false.

OnAttach(IEffectsManager)

Called when [attach].

protected override bool OnAttach(IEffectsManager effectsManager)

Parameters

effectsManager IEffectsManager

The effectsManager.

Returns

bool

OnCoordinateSystemChanged(bool)

protected override void OnCoordinateSystemChanged(bool e)

Parameters

e bool

OnDetach()

Called when [detach].

protected override void OnDetach()

OnHitTest(HitTestContext?, Matrix4x4, ref List<HitTestResult>)

Called when [hit test].

protected override bool OnHitTest(HitTestContext? context, Matrix4x4 totalModelMatrix, ref List<HitTestResult> hits)

Parameters

context HitTestContext

The context.

totalModelMatrix Matrix4x4

The total model matrix.

hits List<HitTestResult>

The hits.

Returns

bool

UpdateModel()

protected void UpdateModel()