[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.2 (0.6.3.2)

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 If marks is null.
System..::..ArgumentException If wrong number of marks was given.
System..::..NullReferenceException If Brush property was not set before calling Prepare.

See Also