Method Paint
Paint(Stroke, StrokeAction)
Applies one action to a complete stroke in the persisted terrain scene.
public PaintTask Paint(Stroke stroke, StrokeAction action)
Parameters
strokeStrokeComplete world-space stroke to paint.
actionStrokeActionAction 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
strokeStrokeactionsIReadOnlyList<StrokeAction>