Constructor Stroke
Stroke(BrushTip, Vector3[])
Creates a finalized stroke by copying the supplied path positions.
public Stroke(BrushTip brushTip, Vector3[] pointsWS)
Parameters
brushTipBrushTipBrush-tip settings captured for the stroke.
pointsWSVector3[]Ordered world-space positions forming the path.
Exceptions
- ArgumentNullException
Thrown when
pointsWSis null.- ArgumentException
Thrown when
pointsWSis empty.