RaptorSuiteBoxDraw.CommitBox
Creates the new box.
| Namespace | Assembly | Kind | Stability |
|---|---|---|---|
Raptor.EditorTools | Raptor.Editor | delegate | preview, since 0.1.0 |
public delegate string CommitBox(Vector3 center, Quaternion rotation, Vector3 size, RaptorModel model);Creates the new box. To refuse, return the reason. RAPTOR shows it as a toast and keeps the draw in its height stage.
| Parameter | Type | Description |
|---|---|---|
center | Vector3 | The box's centre. |
rotation | Quaternion | The box's rotation. |
size | Vector3 | The box's size. |
model | RaptorModel | The model the first click landed on, or null for the work plane. |
Returns: Null when the box was made, else the reason it was refused.
Related types
- RaptorSuiteBoxDraw: The New Block box-draw gesture for tools in other assemblies.
- RaptorModel: The root of a RAPTOR model and its output container.