Get RAPTOR

RaptorSuiteBoxDraw.CommitBox

Creates the new box.

NamespaceAssemblyKindStability
Raptor.EditorToolsRaptor.Editordelegatepreview, 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.

ParameterTypeDescription
centerVector3The box's centre.
rotationQuaternionThe box's rotation.
sizeVector3The box's size.
modelRaptorModelThe 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.

  • RaptorSuiteBoxDraw: The New Block box-draw gesture for tools in other assemblies.
  • RaptorModel: The root of a RAPTOR model and its output container.