Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • BabylonGizmoBoundingBoxGizmo

Index

Constructors

constructor

Methods

createBoundingBoxGizmoObservableSelector

getAxisFactor

  • Get axis factor

    group

    get

    shortname

    get axis factor

    Parameters

    Returns Vector3

    axis factor

getFixedDragMeshBoundsSize

  • Get fixed drag mesh bounds size

    group

    get

    shortname

    get fixed drag mesh bounds size

    Parameters

    Returns boolean

    fixed drag mesh bounds size

getFixedDragMeshScreenSize

  • Get fixed drag mesh screen size

    group

    get

    shortname

    get fixed drag mesh screen size

    Parameters

    Returns boolean

    fixed drag mesh screen size

getFixedDragMeshScreenSizeDistanceFactor

  • Get fixed drag mesh screen size distance factor

    group

    get

    shortname

    get fixed drag mesh screen size distance factor

    Parameters

    Returns number

    fixed drag mesh screen size distance factor

getIncrementalSnap

  • Get incremental snap

    group

    get

    shortname

    get incremental snap

    Parameters

    Returns boolean

    incremental snap

getRotationSnapDistance

  • Get rotation snap distance

    group

    get

    shortname

    get rotation snap distance

    Parameters

    Returns number

    rotation snap distance

getRotationSphereSize

  • Get rotation sphere size

    group

    get

    shortname

    get rotation sphere size

    Parameters

    Returns number

    rotation sphere size

getScaleBoxSize

  • Get scale box size

    group

    get

    shortname

    get scale box size

    Parameters

    Returns number

    scale box size

getScaleDragSpeed

  • Get scale drag speed

    group

    get

    shortname

    get scale drag speed

    Parameters

    Returns number

    scale drag speed

getScalePivot

  • Get scale pivot

    group

    get

    shortname

    get scale pivot

    Parameters

    Returns Vector3

    scale pivot

getScalingSnapDistance

  • Get scaling snap distance

    group

    get

    shortname

    get scaling snap distance

    Parameters

    Returns number

    scaling snap distance

setAxisFactor

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

    group

    set

    shortname

    set axis factor

    Parameters

    Returns BoundingBoxGizmo

    bounding box gizmo

setFixedDragMeshBoundsSize

  • Set bounding box gizmo fixed drag mesh bounds size

    group

    set

    shortname

    set fixed drag mesh bounds size

    Parameters

    Returns BoundingBoxGizmo

    bounding box gizmo

setFixedDragMeshScreenSize

  • 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

    group

    set

    shortname

    set fixed drag mesh screen size

    Parameters

    Returns BoundingBoxGizmo

    bounding box gizmo

setFixedDragMeshScreenSizeDistanceFactor

  • The distance away from the object which the draggable meshes should appear world sized when fixedDragMeshScreenSize is set to true (default: 10)

    group

    set

    shortname

    set fixed drag mesh screen size dist factor

    Parameters

    Returns BoundingBoxGizmo

    bounding box gizmo

setIncrementalSnap

  • 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,...

    group

    set

    shortname

    set incremental snap

    Parameters

    Returns BoundingBoxGizmo

    bounding box gizmo

setRotationSnapDistance

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

    group

    set

    shortname

    set rotation snap dist.

    Parameters

    Returns BoundingBoxGizmo

    bounding box gizmo

setRotationSphereSize

  • Set bounding box gizmo rotation sphere size

    group

    set

    shortname

    set rotation sphere size

    Parameters

    Returns BoundingBoxGizmo

    bounding box gizmo

setScaleBoxSize

  • Set bounding box gizmo scale box size

    group

    set

    shortname

    set scale box size

    Parameters

    Returns BoundingBoxGizmo

    bounding box gizmo

setScaleDragSpeed

  • Set bounding box gizmo scale drag speed

    group

    set

    shortname

    set scale drag speed

    Parameters

    Returns BoundingBoxGizmo

    bounding box gizmo

setScalePivot

  • 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)

    group

    set

    shortname

    set scale pivot

    Parameters

    Returns BoundingBoxGizmo

    bounding box gizmo

setScalingSnapDistance

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

    group

    set

    shortname

    set scaling snap dist.

    Parameters

    Returns BoundingBoxGizmo

    bounding box gizmo

Generated using TypeDoc