Bitbybit Docs
    Preparing search index...

    Class BabylonGizmoBase

    Settings shared by every gizmo: the scale ratio that sets how large the handles are drawn on screen, independent of the size of the mesh they are attached to.

    Index

    Constructors

    get

    • Reads how large a gizmo's handles are drawn relative to the default size.

      Parameters

      Returns number

      The scale ratio

    set

    • Sets how large a gizmo's handles are drawn; 1 is the default size and 2 doubles it, whatever the attached mesh's size.

      Parameters

      Returns IGizmo

      The same gizmo

      bitbybit.babylon.gizmo.base.scaleRatio({ gizmo: positionGizmo, scaleRatio: 1.5 });