Bitbybit Docs
    Preparing search index...

    Class BabylonGizmoPlaneRotationGizmo

    One ring of a rotation gizmo, turning around a single axis; reach it through rotationGizmo.getXGizmo and its siblings to switch that ring on or off.

    Index

    Constructors

    get

    • Reads whether one ring of a rotation gizmo is shown.

      Parameters

      Returns boolean

      True when the ring is shown

    set

    • Shows or hides one ring of a rotation gizmo, so the mesh can be locked against turning around that axis.

      Parameters

      Returns IPlaneRotationGizmo

      The same plane rotation gizmo

      const xRing = bitbybit.babylon.gizmo.rotationGizmo.getXGizmo({ rotationGizmo });
      bitbybit.babylon.gizmo.planeRotationGizmo.setIsEnabled({ planeRotationGizmo: xRing, isEnabled: false });