|
RectangleNode Class |
RectangleNode class is used to create a 3D rectangle that is rendered as a single poly-line.
Inheritance Hierarchy Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 1.0.8740+deb2991acfe86a95cca780cd4f82bcae2805c1a5
Syntax public class RectangleNode : PolyLineBaseNode
The RectangleNode type exposes the following members.
Constructors | Name | Description |
---|
| RectangleNode(String) | Initializes a new instance of the RectangleNode class |
| RectangleNode(IPolyLineMaterial, String) | Initializes a new instance of the RectangleNode class |
| RectangleNode(Color3, Single, String) | Initializes a new instance of the RectangleNode class |
| RectangleNode(Color4, Single, String) | Initializes a new instance of the RectangleNode class |
| RectangleNode(Vector3, PositionTypes, Vector2, Vector3, Vector3, Color4, Single, String) | Initializes a new instance of the RectangleNode class |
TopProperties | Name | Description |
---|
| HeightDirection |
Direction vector of the height dimension.
Default value is (0, 1, 0), i.e., along the Y axis.
|
| Position |
Position of the rectangle.
By default this represents the center position of the rectangle, but can be changed by PositionType property.
Default value is (0, 0, 0)
|
| PositionType |
Type of the Position. Default value is Center.
|
| Size |
Size of the rectangle (width and height of the 2D shape).
Default value is (1, 1)
|
| WidthDirection |
Direction vector of the width dimension.
Default value is (1, 0, 0), i.e., along the X axis.
|
TopFields | Name | Description |
---|
| DefaultRectangleMiterLimit |
Miter limit value that is used for rectangle's Po PolyLineMaterial.
By default this value is 4 that is twice the value of the miter limit for other poly-lines.
This way the corners remain sharp longer.
|
TopSee Also