Click or drag to resize
Ab4d.SharpEngine logo

LineNode Class

LineNode class is used to create a single line that is defined by the StartPosition and EndPosition.
Inheritance Hierarchy

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public class LineNode : LineBaseNode

The LineNode type exposes the following members.

Constructors
 NameDescription
Public methodLineNode(String)Initializes a new instance of the LineNode class
Public methodLineNode(Material, String)Initializes a new instance of the LineNode class
Public methodLineNode(Color3, Single, String)Initializes a new instance of the LineNode class
Public methodLineNode(Vector3, Vector3, String)Initializes a new instance of the LineNode class
Public methodLineNode(Vector3, Vector3, Material, String)Initializes a new instance of the LineNode class
Public methodLineNode(Vector3, Vector3, Color3, Single, String)Initializes a new instance of the LineNode class
Public methodLineNode(Vector3, Vector3, Color4, Single, String)Initializes a new instance of the LineNode class
Top
Properties
 NameDescription
Public propertyEndLineCap Gets or sets one of the LineCap that is used for end position of the line.
Public propertyEndPosition End position of the line.
Public propertyStatic memberLineArrowAngle Gets or sets the angle of the line arrows. Default value is 15 degrees. Note that if the line is short so that the arrow length exceeds the amount defined by MaxLineArrowLength, the arrow is shortened which increased the arrow angle.
Public propertyStatic memberMaxLineArrowLength Gets or sets a double value that specifies the maximum arrow length set as fraction of the line length - e.g. 0.333 means that the maximum arrow length will be 1 / 3 (=0.333) of the line length. If the line is short so that the arrow length exceeds the amount defined by MaxLineArrowLength, the arrow is shortened (the arrow angle is increased).
Public propertyStartLineCap Gets or sets one of the LineCap that is used for start position of the line.
Public propertyStartPosition Start position of the line.
Top
Methods
 NameDescription
Protected methodOnUpdate
(Overrides LineBaseNodeOnUpdate)
Top
See Also