Click or drag to resize
Ab4d.SharpEngine logo

MultiLineBaseNode Class

MultiLineBaseNode is an abstract class that is used by SceneNodes that are rendered by defining multiple lines.
Inheritance Hierarchy

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 1.0.8740+deb2991acfe86a95cca780cd4f82bcae2805c1a5
Syntax
C#
public abstract class MultiLineBaseNode : LineBaseNode

The MultiLineBaseNode type exposes the following members.

Constructors
 NameDescription
Protected methodMultiLineBaseNode(Boolean, String)Initializes a new instance of the MultiLineBaseNode class
Protected methodMultiLineBaseNode(Boolean, Material, String)Initializes a new instance of the MultiLineBaseNode class
Protected methodMultiLineBaseNode(Vector3, Boolean, String)Initializes a new instance of the MultiLineBaseNode class
Protected methodMultiLineBaseNode(Boolean, Color3, Single, String)Initializes a new instance of the MultiLineBaseNode class
Protected methodMultiLineBaseNode(Boolean, Color4, Single, String)Initializes a new instance of the MultiLineBaseNode class
Protected methodMultiLineBaseNode(Vector3, Boolean, Material, String)Initializes a new instance of the MultiLineBaseNode class
Protected methodMultiLineBaseNode(Vector3, Boolean, BoundingBox, Material, String)Initializes a new instance of the MultiLineBaseNode class
Protected methodMultiLineBaseNode(Vector3, Boolean, Color3, Single, String)Initializes a new instance of the MultiLineBaseNode class
Protected methodMultiLineBaseNode(Vector3, Boolean, Color4, Single, String)Initializes a new instance of the MultiLineBaseNode class
Protected methodMultiLineBaseNode(Vector3, Boolean, BoundingBox, Color3, Single, String)Initializes a new instance of the MultiLineBaseNode class
Protected methodMultiLineBaseNode(Vector3, Boolean, BoundingBox, Color4, Single, String)Initializes a new instance of the MultiLineBaseNode class
Top
Methods
 NameDescription
Public methodGetIsLineStrip 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.
Public methodGetPositions Gets an array of Vector3 items that defines the positions that are used to define this line.
Public methodGetPositionsBoundingBox Gets a BoundingBox of the positions that define this line (SceneNode.Transform is not applied to this BoundingBox).
Protected methodOnUpdate
(Overrides LineBaseNodeOnUpdate)
Protected methodSetIsLineStrip 
Protected methodSetPositions(Vector3) 
Protected methodSetPositions(Vector3, BoundingBox) 
Protected methodUpdateMesh 
Protected methodUpdatePositions 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