 |
WireGridNode Class |
WireGridNode class is used to create GroupNode that represents a horizontally aligned grid defined by 3D lines.
Inheritance Hierarchy Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntaxpublic class WireGridNode : GroupNode
The WireGridNode type exposes the following members.
Constructors
Properties | Name | Description |
---|
 | CenterPosition |
Center position of the grid.
Default value is (0, 0, 0)
|
 | HeightCellsCount |
Number of cells along the height dimension.
Default value is 5.
|
 | HeightDirection |
Direction vector of the height dimension.
Default value is (0, 0, -1), i.e., along the Z axis.
|
 | IsClosed |
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.
|
 | MajorLineColor |
Color of major grid lines and the enclosing rectangle.
Default color is black.
|
 | MajorLinesFrequency |
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.
|
 | MajorLineThickness |
Thickness of major grid lines and the enclosing rectangle.
Default value is 2.0 (set by public static DefaultMajorLineThickness).
|
 | MinorLineColor |
Color of minor grid lines.
Default color is black.
|
 | MinorLineThickness |
Thickness of minor grid lines.
Default value is 1.0 (set by public static DefaultMinorLineThickness).
|
 | Size |
Size (2D width and height) of the grid.
Default value is (1, 1)
|
 | WidthCellsCount |
Number of cells along the width dimension.
Default value is 5.
|
 | WidthDirection |
Direction vector of the width dimension.
Default value is (1, 0, 0), i.e., along the X axis.
|
Top
Fields
Extension Methods
See Also