Creates a PlaneDragGizmo
The axis normal to which the gizmo will be able to drag on
The color of the gizmo
The utility layer the gizmo will be added to
The root mesh of the gizmo
Mesh that the gizmo will be attached to. (eg. on a drag gizmo the mesh that will be dragged)
Drag behavior responsible for the gizmos dragging interactions
The utility layer the gizmo will be added to
If the gizmo is enabled
Event that fires each time the gizmo snaps to a new location.
Ratio for the scale of the gizmo (Default: 1)
Drag distance in babylon units that the gizmo will snap to when dragged (Default: 0)
If set the gizmo's position will be updated to match the attached mesh each frame (Default: true)
If set the gizmo's rotation will be updated to match the attached mesh each frame (Default: true)
When set, the gizmo will always appear the same size no matter where the camera is (default: true)
Disposes of the gizmo
Disposes and replaces the current meshes in the gizmo with the specified mesh
The mesh to replace the default mesh of the gizmo
Generated using TypeDoc
Single plane drag gizmo