Click or drag to resize
Ab4d.SharpEngine logo

AxesBoxNode Properties

The AxesBoxNode type exposes the following members.

Properties
 NameDescription
Public propertyAdjustFirstAndLastLabelPositions When true, then the first label is moved up and the last label is moved down. This prevents overlapping the first and last labels with adjacent axis. Default value is false.
Public propertyAxisLineColor Gets or sets the color of the axis line.
Public propertyAxisLineThickness Gets or sets the thickness of the axis line in screen coordinates. Default value is 2.
Public propertyAxisShowingStrategy Gets or sets one of AxisShowingStrategies that defines how the axes will be automatically shown, hidden and positioned. Default value is FrontFacingPlanes.
Public propertyAxisTitleColor Gets or sets the color of the axis title text.
Public propertyAxisTitleFontSize Gets or sets the size of the axis title text. Default value is 6.
Public propertyBackConnectionLinesNode Gets a MultiLineNode that is used to show 3D lines that connect major ticks in the bottom and back rectangles.
Public propertyBottomRectangleLineNode Gets a RectangleNode that is used to show the bottom rectangle.
Public propertyCamera Gets or sets a camera that is showing the 3D scene (usually assigned to SceneView.Camera property). When this Camera object is set, then AxisWithLabelsNode subscribe to camera changes (when UpdateOnCameraChanges is true) and update the text directions based on the camera angles. When Camera object is not set, then text is oriented as it would be viewed with a camera with Heading = 0 and Attitude = 0. In this case it is recommended to call UpdateTextDirections(ICamera) to update the text directions.
Public propertyCenterPosition Gets or sets the center position of the 3D box used to create the axes. Default is (0, 0, 0).
Public propertyConnectionLinesColor Gets or sets the color of the connection lines that show major tick value on the bottom and back rectangles. Default value is Gray.
Public propertyConnectionLinesThickness Gets or sets the thickness of the connection lines that show major tick value on the bottom and back rectangles. Default value is 1.
Public propertyIsAutomaticallySubscribedToCameraChanges When true (by default) the Update method is automatically called on each change of the Camera.
Public propertyIsWireBoxFullyClosed IsWireBoxFullyClosed specifies if the the 3D lines are also drawn to the top front corner of the box to make the wire box fully closed. Default value is false. This draws only the side and back lines of the wire box and make the box appear opened.
Public propertyIsXAxis1Visible Gets or sets a Boolean that specified is XAxis1 is visible. This is a shortcut for XAxis1.IsVisible property. Default value is true.
Public propertyIsXAxis2Visible Gets or sets a Boolean that specified is XAxis2 is visible. This is a shortcut for XAxis2.IsVisible property. Default value is false.
Public propertyIsYAxis1Visible Gets or sets a Boolean that specified is YAxis1 is visible. This is a shortcut for YAxis1.IsVisible property. Default value is true.
Public propertyIsYAxis2Visible Gets or sets a Boolean that specified is YAxis2 is visible. This is a shortcut for YAxis2.IsVisible property. Default value is false.
Public propertyIsZAxis1Visible Gets or sets a Boolean that specified is ZAxis1 is visible. This is a shortcut for ZAxis1.IsVisible property. When this property is set by the user, then AxesBoxNode will not change the ZAxis1 visibility even when AxisShowingStrategy is not None. Default value is true.
Public propertyIsZAxis2Visible Gets or sets a Boolean that specified is ZAxis2 is visible. This is a shortcut for ZAxis2.IsVisible property. When this property is set by the user, then AxesBoxNode will not change the ZAxis2 visibility even when AxisShowingStrategy is not None. Default value is true.
Public propertyLabelsBitmapTextCreator Gets or sets a BitmapTextCreator that is used to generate the bitmap text for the axis labels. If this property is not set by the user, then AxisWithLabelsNode automatically use the default BitmapTextCreator (get by calling BitmapTextCreator.GetDefaultBitmapTextCreator).
Public propertyMajorTicksLength Gets or sets a value that defines the length of major tick lines. Default value is 5. When set to 0, then major tick lines are not shown (but labels are still shown).
Public propertyMinorTicksLength Gets or sets a value that defines the length of minor tick lines. Default value is 2.5. When set to 0, then minor tick lines are not shown.
Public propertyShowBackConnectionLines Gets or sets a Boolean that specifies if connection lines that connect major ticks on X and Y axes are shown in the two back rectangle. Default value is true. To show the lines the ShowXAxisConnectionLines and ShowYAxisConnectionLines must be true.
Public propertyShowBottomConnectionLines Gets or sets a Boolean that specifies if connection lines that connect major ticks on X and Y axes are shown in the bottom rectangle. Default value is true. To show the lines the ShowXAxisConnectionLines and ShowYAxisConnectionLines must be true.
Public propertyShowXAxisConnectionLines Gets or sets a Boolean that specifies if vertical connection lines that show major ticks on X axis are shown in the background rectangles. Default value is false. To define where to show the connection lines set ShowBottomConnectionLines or ShowBackConnectionLines to true.
Public propertyShowYAxisConnectionLines Gets or sets a Boolean that specifies if vertical connection lines that show major ticks on Y axis are shown in the background rectangles. Default value is false. To define where to show the connection lines set ShowBottomConnectionLines or ShowBackConnectionLines to true.
Public propertyShowZAxisConnectionLines Gets or sets a Boolean that specifies if horizontal connection lines that show major ticks on Z axis are shown in the background rectangles. Default value is true.
Public propertySize Gets or sets the size of the 3D box used to create the axes. Default value is (100, 100, 100).
Public propertyTicksLineColor Gets or sets the color of ticks lines.
Public propertyTicksLineThickness Gets or sets the thickness of the ticks lines in screen coordinates. Default value is 1.
Public propertyTitleBitmapTextCreator Gets or sets a BitmapTextCreator that is used to generate the bitmap text for the axis title. If this property is not set by the user, then AxisWithLabelsNode automatically use the default BitmapTextCreator (get by calling BitmapTextCreator.GetDefaultBitmapTextCreator).
Public propertyUpdateOnCameraChanges Gets or sets a Boolean that specifies if AxisWithLabelsNode subscribe to camera changes of the camera that is assigned to the Camera property. By default, this value is true. When set to false, then it is recommended to manually call UpdateTextDirections to update the text directions.
Public propertyValueDisplayCulture Gets or sets the culture used to format value labels. Default value is null (using current culture).
Public propertyValueDisplayFormatString Gets or sets the string that defines the format string that is used to format the displayed values. When this string is empty, then values are not displayed. Default value is "#,##0". Culture that is used to format the value is defined by the ValueDisplayCulture property (current culture by default).
Public propertyValueLabelsColor Gets or sets the color of the value labels text.
Public propertyValueLabelsFontSize Gets or sets the size of the value labels text. Default value is 6.
Public propertyValueLabelsPadding Gets or sets a value that defines how much the value labels texts are positioned away from the major tick markers. Default value is 3.
Public propertyWireBoxLinesNode Gets a MultiLineNode that is used to show major 3D lines for wire box. When IsWireBoxFullyClosed is false, then only the two back rectangles (between both Z axes) are rendered; when true all 3D lines are shown.
Public propertyXAxis1 Gets the AxisWithLabelsNode that is used to render first x axis.
Public propertyXAxis1Title Gets or sets the title for XAxis1. This is a shortcut for XAxis1.AxisTitle property.
Public propertyXAxis2 Gets the AxisWithLabelsNode that is used to render second x axis.
Public propertyXAxis2Title Gets or sets the title for XAxis2. This is a shortcut for XAxis2.AxisTitle property.
Public propertyYAxis1 Gets the AxisWithLabelsNode that is used to render first y axis.
Public propertyYAxis1Title Gets or sets the title for YAxis1. This is a shortcut for YAxis1.AxisTitle property.
Public propertyYAxis2 Gets the AxisWithLabelsNode that is used to render second y axis.
Public propertyYAxis2Title Gets or sets the title for YAxis2. This is a shortcut for YAxis2.AxisTitle property.
Public propertyZAxis1 Gets the AxisWithLabelsNode that is used to render first z axis.
Public propertyZAxis1Title Gets or sets the title for ZAxis1. This is a shortcut for ZAxis1.AxisTitle property.
Public propertyZAxis2 Gets the AxisWithLabelsNode that is used to render second z axis.
Public propertyZAxis2Title Gets or sets the title for ZAxis2. This is a shortcut for ZAxis2.AxisTitle property.
Top
See Also