Class CoordinateSystemNode
- Namespace
- HelixToolkit.SharpDX.Model.Scene
- Assembly
- HelixToolkit.SharpDX.dll
public class CoordinateSystemNode : ScreenSpacedNode, IDisposable, IComparable<SceneNode>, IAnimationNode, IHitable
- Inheritance
-
CoordinateSystemNode
- Implements
- Inherited Members
- Extension Methods
Constructors
CoordinateSystemNode()
public CoordinateSystemNode()
Properties
AxisXColor
Gets or sets the color of the axis x.
public Color4 AxisXColor { get; set; }
Property Value
- Color4
The color of the axis x.
AxisYColor
Gets or sets the color of the axis y.
public Color4 AxisYColor { get; set; }
Property Value
- Color4
The color of the axis y.
AxisZColor
Gets or sets the color of the axis z.
public Color4 AxisZColor { get; set; }
Property Value
- Color4
The color of the axis z.
LabelColor
Gets or sets the color of the label.
public Color4 LabelColor { get; set; }
Property Value
- Color4
The color of the label.
LabelX
Gets or sets the label x.
public string LabelX { get; set; }
Property Value
- string
The label x.
LabelY
Gets or sets the label y.
public string LabelY { get; set; }
Property Value
- string
The label y.
LabelZ
Gets or sets the label z.
public string LabelZ { get; set; }
Property Value
- string
The label z.
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.
OnCoordinateSystemChanged(bool)
protected override void OnCoordinateSystemChanged(bool isRightHand)
Parameters
isRightHandbool
UpdateAxisColor(Geometry3D?, int, Color4, string, Color4)
protected void UpdateAxisColor(Geometry3D? mesh, int which, Color4 color, string label, Color4 labelColor)
Parameters
meshGeometry3DwhichintcolorColor4labelstringlabelColorColor4