Table of Contents

Class StrokeBuilder

Namespace
Pinwheel.Vista.Strokes
Assembly
Pinwheel.Vista.Runtime.dll

Records a mutable world-space path and finalizes it as a Stroke.

public sealed class StrokeBuilder
Inheritance
StrokeBuilder
Inherited Members

Properties

brushTip

Gets the brush tip captured for the active stroke.

isRecording

Gets whether this builder is currently recording a stroke.

pointsWS

Gets a copy of the world-space positions recorded so far.

Methods

Append(Vector3)

Appends a world-space position to the active stroke.

Begin(BrushTip, Vector3)

Starts a stroke and records its first world-space position.

Cancel()

Discards the active stroke and resets this builder for reuse.

End()

Finalizes the active stroke and resets this builder for reuse.