|
PolyLineNode Class |
PolyLineNode class is used to create a poly-line (line that is defined from connected line segments).
Inheritance Hierarchy Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public class PolyLineNode : PolyLineBaseNode
The PolyLineNode type exposes the following members.
Constructors | Name | Description |
---|
| PolyLineNode(String) | Initializes a new instance of the PolyLineNode class |
| PolyLineNode(IPolyLineMaterial, String) | Initializes a new instance of the PolyLineNode class |
| PolyLineNode(Vector3, String) | Initializes a new instance of the PolyLineNode class |
| PolyLineNode(Color3, Single, String) | Initializes a new instance of the PolyLineNode class |
| PolyLineNode(Vector3, IPolyLineMaterial, String) | Initializes a new instance of the PolyLineNode class |
| PolyLineNode(Vector3, BoundingBox, IPolyLineMaterial, String) | Initializes a new instance of the PolyLineNode class |
| PolyLineNode(Vector3, Color3, Single, String) | Initializes a new instance of the PolyLineNode class |
| PolyLineNode(Vector3, Color4, Single, String) | Initializes a new instance of the PolyLineNode class |
| PolyLineNode(Vector3, BoundingBox, Color3, Single, String) | Initializes a new instance of the PolyLineNode class |
| PolyLineNode(Vector3, BoundingBox, Color4, Single, String) | Initializes a new instance of the PolyLineNode class |
TopProperties | Name | Description |
---|
| IsClosed |
Gets or sets a value that specifies if the PolyLineNode closes the lines by connecting the last and the first position.
|
| Positions |
Positions array that form 3D lines.
When the contents of the array is changed, call the UpdatePositions(NullableBoundingBox) method to update the mesh that stores the positions on the graphic card.
When the Position property is set to another array instance, then it is not needed to call UpdateMesh method.
|
TopMethods | Name | Description |
---|
| UpdatePositions |
UpdatePositions method needs to be called after the content of the Positions array is changed.
The method updates the local bounding box and will update the mesh in the update pass.
To update mesh, call Update method.
Optionally it is possible to set the bounding box of the positions. This prevents calculating the bounding box form the positions.
When the Positions property is set to another positions instance, then it is not needed to call this method.
|
TopSee Also