Options
All
  • Public
  • Public/Protected
  • All
Menu

Class used to manage 3D user interface

see

https://doc.babylonjs.com/features/featuresDeepDive/gui/gui3D

Hierarchy

  • GUI3DManager

Implements

Index

Constructors

  • Creates a new GUI3DManager

    Parameters

    Returns GUI3DManager

Properties

onPickedPointChangedObservable: Observable<Nullable<Vector3>>

BABYLON.Observable raised when the point picked by the pointer events changed

onPickingObservable: Observable<Nullable<AbstractMesh>>

BABYLON.Observable raised when a picking happens

Accessors

  • get controlScaling(): number
  • set controlScaling(newScale: number): void
  • Gets the scaling for all UI elements owned by this manager

    Returns number

  • Sets the scaling adjustment for all UI elements owned by this manager

    Parameters

    • newScale: number

    Returns void

  • Gets the root container

    Returns Container3D

  • Gets the hosting scene

    Returns Scene

  • get useRealisticScaling(): boolean
  • set useRealisticScaling(newValue: boolean): void
  • Gets if controls attached to this manager are realistically sized, based on the fact that 1 unit length is 1 meter

    Returns boolean

  • Sets if controls attached to this manager are realistically sized, based on the fact that 1 unit length is 1 meter

    Parameters

    • newValue: boolean

    Returns void

Methods

  • Adds a control to the root child list

    Parameters

    • control: Control3D

      defines the control to add

    Returns GUI3DManager

    the current manager

  • Gets a boolean indicating if the given control is in the root child list

    Parameters

    • control: Control3D

      defines the control to check

    Returns boolean

    true if the control is in the root child list

  • dispose(): void
  • Releases all associated resources

    Returns void

  • Removes a control from the root child list

    Parameters

    • control: Control3D

      defines the control to remove

    Returns GUI3DManager

    the current container

Legend

  • Constructor
  • Property
  • Method
  • Accessor
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property
  • Method
  • Static method

Settings

Theme