[This is preliminary documentation and is subject to change.]

Prepares DrawOperation to start. Called after the player made a selection, usually on player's I/O thread. Brush property must be set before calling Prepare.

Namespace: fCraft.Drawing
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.5 (0.6.3.5)

Syntax

   
 C# 
public virtual bool Prepare(
	Vector3I[] marks
)

Parameters

marks
array<Vector3I>[]()[][]
Array of marks given by the player.

Return Value

True if both DrawOperation and Brush have been prepared succesfully. False if either of them failed.

Exceptions

ExceptionCondition
System..::..ArgumentNullException marks is null.
System..::..ArgumentException Wrong number of marks is given.
System..::..NullReferenceException DrawOperation's Brush property is not set before calling Prepare.

See Also