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 propertyIsLineThicknessInWorldSpace Gets or sets a boolean that specifies if the line thickness is specified in in screen space units (false; dy default) or in world space units (true). When the line thickness is specified in world space units, then the line thickness will be smaller when the camera is farther away from the line. When the line thickness is specified in screen space units, then the line thickness will be the same regardless of the distance from the camera. Default value is false - line thickness is specified in screen space units.
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