Click or drag to resize
Ab4d.SharpEngine logo

WireGridNode Properties

The WireGridNode type exposes the following members.

Properties
 NameDescription
Public propertyCenterPosition Center position of the grid. Default value is (0, 0, 0)
Public propertyHeightCellsCount Number of cells along the height dimension. Default value is 5.
Public propertyHeightDirection Direction vector of the height dimension. Default value is (0, 0, -1), i.e., along the Z axis.
Public propertyIsClosed Flag indicating whether a rectangle is drawn around the grid's perimeter, closing the grid shape. The style used for the closing line is that of the major lines. Default value is true.
Public propertyMajorLineColor Color of major grid lines and the enclosing rectangle. Default color is black.
Public propertyMajorLinesFrequency The frequency of major lines, in terms of minor lines (i.e., how many minor lines until next major one). When set to 0 or less, the major lines are not drawn and all lines are minor lines. Default value is 0.
Public propertyMajorLineThickness Thickness of major grid lines and the enclosing rectangle. Default value is 2.0 (set by public static DefaultMajorLineThickness).
Public propertyMinorLineColor Color of minor grid lines. Default color is black.
Public propertyMinorLineThickness Thickness of minor grid lines. Default value is 1.0 (set by public static DefaultMinorLineThickness).
Public propertySize Size (2D width and height) of the grid. Default value is (1, 1)
Public propertyWidthCellsCount Number of cells along the width dimension. Default value is 5.
Public propertyWidthDirection Direction vector of the width dimension. Default value is (1, 0, 0), i.e., along the X axis.
Top
See Also