Bitbybit Docs
    Preparing search index...

    Class BabylonGizmoAxisScaleGizmo

    One handle of a scale gizmo, stretching along a single axis; reach it through scaleGizmo.getXGizmo and its siblings to switch that axis on or off.

    Index

    Constructors

    get

    • Reads whether one axis handle of a scale gizmo is shown.

      Parameters

      Returns boolean

      True when the handle is shown

    set

    • Shows or hides one axis handle of a scale gizmo, so the mesh can be locked against scaling along that axis.

      Parameters

      Returns IAxisScaleGizmo

      The same axis scale gizmo

      const yHandle = bitbybit.babylon.gizmo.scaleGizmo.getYGizmo({ scaleGizmo });
      bitbybit.babylon.gizmo.axisScaleGizmo.setIsEnabled({ axisScaleGizmo: yHandle, isEnabled: false });