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
trueif [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
contextHitTestContextThe context.
Returns
- bool
trueif this instance [can hit test] the specified context; otherwise,false.
OnAttach(IEffectsManager)
Called when [attach].
protected override bool OnAttach(IEffectsManager effectsManager)
Parameters
effectsManagerIEffectsManagerThe effectsManager.
Returns
OnCoordinateSystemChanged(bool)
protected override void OnCoordinateSystemChanged(bool e)
Parameters
ebool
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
contextHitTestContextThe context.
totalModelMatrixMatrix4x4The total model matrix.
hitsList<HitTestResult>The hits.
Returns
UpdateModel()
protected void UpdateModel()