Click or drag to resize
Ab4d.SharpEngine logo

PolyLineNodeUpdatePositions 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.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public void UpdatePositions(
	BoundingBox? newPositionsBoundingBox = null
)

Parameters

newPositionsBoundingBox  NullableBoundingBox  (Optional)
optional bounding box of the positions
See Also