Click or drag to resize
Ab4d.SharpEngine logo

MultiLineBaseNode Methods

The MultiLineBaseNode type exposes the following members.

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