 |
MultiLineBaseNode.UpdatePositions Method |
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.
Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxprotected void UpdatePositions(
BoundingBox? newPositionsBoundingBox = null
)
Parameters
- newPositionsBoundingBox Nullable<BoundingBox> (Optional)
- optional bounding box of the positions
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.SceneNodes.MultiLineBaseNode.UpdatePositions(System.Nullable{Ab4d.SharpEngine.Common.BoundingBox})"]
See Also