Click or drag to resize
Ab4d.SharpEngine logo

RectangleNode Class

RectangleNode class is used to create a 3D rectangle that is rendered as a single poly-line.
Inheritance Hierarchy

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public class RectangleNode : PolyLineBaseNode

The RectangleNode type exposes the following members.

Constructors
Properties
 NameDescription
Public propertyHeightDirection Direction vector of the height dimension. Default value is (0, 1, 0), i.e., along the Y axis.
Public propertyPosition 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)
Public propertyPositionType Type of the Position. Default value is Center.
Public propertySize Size of the rectangle (width and height of the 2D shape). Default value is (1, 1)
Public propertyWidthDirection Direction vector of the width dimension. Default value is (1, 0, 0), i.e., along the X axis.
Top
Methods
Fields
 NameDescription
Public fieldStatic memberDefaultRectangleMiterLimit 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.
Top
See Also