Bitbybit Docs
    Preparing search index...

    Class BabylonGizmoPlaneDragGizmo

    One plane handle of a position gizmo, dragging within a single plane; reach it through positionGizmo.getXPlaneGizmo and its siblings to switch that plane on or off.

    Index

    Constructors

    get

    • Reads whether one plane handle of a position gizmo is shown.

      Parameters

      Returns boolean

      True when the handle is shown

    set

    • Shows or hides one plane handle of a position gizmo, so the mesh can be locked against sliding in that plane.

      Parameters

      Returns IPlaneDragGizmo

      The same plane drag gizmo

      const xzHandle = bitbybit.babylon.gizmo.positionGizmo.getYPlaneGizmo({ positionGizmo });
      bitbybit.babylon.gizmo.planeDragGizmo.setIsEnabled({ planeDragGizmo: xzHandle, isEnabled: true });