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
SystemObject
  Ab4d.SharpEngine.CoreComponentBase
    Ab4d.SharpEngine.CoreInitializedSceneComponent
      Ab4d.SharpEngine.SceneNodesSceneNode
        Ab4d.SharpEngine.SceneNodesRenderedNode
          Ab4d.SharpEngine.SceneNodesLineBaseNode
            Ab4d.SharpEngine.SceneNodesMultiLineBaseNode
              Ab4d.SharpEngine.SceneNodesPolyLineBaseNode
                Ab4d.SharpEngine.SceneNodesRectangleNode

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
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
Remarks

[Missing <remarks> documentation for "T:Ab4d.SharpEngine.SceneNodes.RectangleNode"]

See Also