MeshPlacementOptions
Interface in @bimworks/viewer3d.
API catalogue · @bimworks/viewer3d · Interface
TypeScript#
interface MeshPlacementOptionsOptions of Viewer3d.startMeshPlacement
Members#
| Member | Kind | Description |
|---|---|---|
| attach | Property | Whether it follows the cursor until a click puts it down, default true |
| label | Property | What the mode bar's title calls it: "Place · ", default "the object" |
| lengthUnit | Property | The unit of a length typed without one, default "mm" |
| onCancel | Property | |
| onCommit | Property |
attach#
TypeScript#
attach?: booleanWhether it follows the cursor until a click puts it down, default true
label#
TypeScript#
label?: stringWhat the mode bar's title calls it: "Place ·
lengthUnit#
TypeScript#
lengthUnit?: stringThe unit of a length typed without one, default "mm"
onCancel#
TypeScript#
onCancel?: () => voidonCommit#
TypeScript#
onCommit?: (result: MeshPlacementResult) => void