Creates a PositionGizmo
The utility layer the gizmo will be added to
The root mesh of the gizmo
The utility layer the gizmo will be added to
Fires an event when any of it's sub gizmos are released from dragging
Fires an event when any of it's sub gizmos are dragged
If the planar drag gizmo is enabled setting this will enable/disable XY, XZ and YZ planes regardless of individual gizmo settings.
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)
When set, the gizmo will always appear the same size no matter where the camera is (default: true)
Internal gizmo used for interactions on the x axis
Internal gizmo used for interactions on the yz plane
Internal gizmo used for interactions on the y axis
Internal gizmo used for interactions on the xz plane
Internal gizmo used for interactions on the z axis
Internal gizmo used for interactions on the xy plane
Disposes of the gizmo
CustomMeshes are not supported by this gizmo
The mesh to replace the default mesh of the gizmo
Generated using TypeDoc
Gizmo that enables dragging a mesh along 3 axis