bitbybit.dev v1.0.0-rc.1
    Preparing search index...

    Class BabylonGizmoBoundingBoxGizmo

    Index

    Constructors

    create

    get

    • Get rotation sphere size

      Parameters

      Returns number

      rotation sphere size

      get rotation sphere size

    • Get scale box size

      Parameters

      Returns number

      scale box size

      get scale box size

    • Get fixed drag mesh screen size

      Parameters

      Returns boolean

      fixed drag mesh screen size

      get fixed drag mesh screen size

    • Get fixed drag mesh bounds size

      Parameters

      Returns boolean

      fixed drag mesh bounds size

      get fixed drag mesh bounds size

    • Get fixed drag mesh screen size distance factor

      Parameters

      Returns number

      fixed drag mesh screen size distance factor

      get fixed drag mesh screen size distance factor

    • Get scaling snap distance

      Parameters

      Returns number

      scaling snap distance

      get scaling snap distance

    • Get rotation snap distance

      Parameters

      Returns number

      rotation snap distance

      get rotation snap distance

    • Get incremental snap

      Parameters

      Returns boolean

      incremental snap

      get incremental snap

    • Get scale drag speed

      Parameters

      Returns number

      scale drag speed

      get scale drag speed

    set

    • If set, the rotation anchors and scale boxes will increase in size based on the distance away from the camera to have a consistent screen size (Default: false) Note : fixedDragMeshScreenSize takes precedence over fixedDragMeshBoundsSize if both are true

      Parameters

      Returns BoundingBoxGizmo

      bounding box gizmo

      set fixed drag mesh screen size

    • Set bounding box gizmo scaling snap distance. Drag distance in babylon units that the gizmo will snap scaling to when dragged.

      Parameters

      Returns BoundingBoxGizmo

      bounding box gizmo

      set scaling snap dist.

    • Set bounding box gizmo rotation snap distance. Drag distance in babylon units that the gizmo will snap rotation to when dragged.

      Parameters

      Returns BoundingBoxGizmo

      bounding box gizmo

      set rotation snap dist.

    • Set bounding box gizmo incremental snap. Incremental snap scaling (default is false). When true, with a snapDistance of 0.1, scaling will be 1.1,1.2,1.3 instead of, when false: 1.1,1.21,1.33,...

      Parameters

      Returns BoundingBoxGizmo

      bounding box gizmo

      set incremental snap

    • Set bounding box gizmo scale pivot. Relative bounding box pivot used when scaling the attached node. When null object with scale from the opposite corner. 0.5,0.5,0.5 for center and 0.5,0,0.5 for bottom (Default: null)

      Parameters

      Returns BoundingBoxGizmo

      bounding box gizmo

      set scale pivot

    • Set bounding box gizmo axis factor. Set custom sensitivity value for each axis

      Parameters

      Returns BoundingBoxGizmo

      bounding box gizmo

      set axis factor