Table of Contents

Method Paint

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

Paint(Stroke, StrokeAction)

Applies one action to a complete stroke in the persisted terrain scene.

public PaintTask Paint(Stroke stroke, StrokeAction action)

Parameters

stroke Stroke

Complete world-space stroke to paint.

action StrokeAction

Action whose graph and blend options are applied.

Returns

PaintTask

A progressive task that completes after the stroke result has been consumed. It completes immediately when there is no action, no graph, or no terrain under the stroke.

Remarks

Graph execution, snapshot capture, blending, and whole-tile application are progressive, so this returns before the work is done.

Paint(Stroke, IReadOnlyList<StrokeAction>)

Applies an ordered collection of actions to one stroke while sharing generic graph outputs between passes.

public PaintTask Paint(Stroke stroke, IReadOnlyList<StrokeAction> actions)

Parameters

stroke Stroke
actions IReadOnlyList<StrokeAction>

Returns

PaintTask