 |
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: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
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.
|
 | IsLineThicknessInWorldSpace |
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.
|
 | 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| | Name | Description |
|---|
 | DumpHierarchy |
Writes the hierarchy of the GroupNode and its children into the Visual Studio Output window.
(Defined by Extensions) |
Top
See Also