 |
MultiLineBaseNode Class |
MultiLineBaseNode is an abstract class that is used by SceneNodes that are rendered by defining multiple lines.
Inheritance Hierarchy Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic abstract class MultiLineBaseNode : LineBaseNode
The MultiLineBaseNode type exposes the following members.
Constructors | Name | Description |
---|
 | MultiLineBaseNode(Boolean, String) | Initializes a new instance of the MultiLineBaseNode class |
 | MultiLineBaseNode(Boolean, Material, String) | Initializes a new instance of the MultiLineBaseNode class |
 | MultiLineBaseNode(Vector3, Boolean, String) | Initializes a new instance of the MultiLineBaseNode class |
 | MultiLineBaseNode(Boolean, Color3, Single, String) | Initializes a new instance of the MultiLineBaseNode class |
 | MultiLineBaseNode(Boolean, Color4, Single, String) | Initializes a new instance of the MultiLineBaseNode class |
 | MultiLineBaseNode(Vector3, Boolean, Material, String) | Initializes a new instance of the MultiLineBaseNode class |
 | MultiLineBaseNode(Vector3, Boolean, BoundingBox, Material, String) | Initializes a new instance of the MultiLineBaseNode class |
 | MultiLineBaseNode(Vector3, Boolean, Color3, Single, String) | Initializes a new instance of the MultiLineBaseNode class |
 | MultiLineBaseNode(Vector3, Boolean, Color4, Single, String) | Initializes a new instance of the MultiLineBaseNode class |
 | MultiLineBaseNode(Vector3, Boolean, BoundingBox, Color3, Single, String) | Initializes a new instance of the MultiLineBaseNode class |
 | MultiLineBaseNode(Vector3, Boolean, BoundingBox, Color4, Single, String) | Initializes a new instance of the MultiLineBaseNode class |
Top
Methods | Name | Description |
---|
 | GetIsLineStrip |
Returns true when the positions define connected lines.
When false is returned than lines are not connected and each line is defined by two positions.
|
 | GetPositions |
Gets an array of Vector3 items that defines the positions that are used to define this line.
|
 | GetPositionsBoundingBox |
Gets a BoundingBox of the positions that define this line (SceneNode.Transform is not applied to this BoundingBox).
|
 | OnUpdate | (Overrides LineBaseNodeOnUpdate) |
 | SetIsLineStrip | |
 | SetPositions(Vector3) | |
 | SetPositions(Vector3, BoundingBox) | |
 | UpdateCapMeshForLineStrip | |
 | UpdateMesh | |
 | 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.
|
Top
See Also