Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GUI3DManager

Class used to manage 3D user interface

see

https://doc.babylonjs.com/how_to/gui3d

Hierarchy

  • GUI3DManager

Implements

Index

Constructors

constructor

  • Creates a new GUI3DManager

    Parameters

    Returns GUI3DManager

Properties

onPickedPointChangedObservableSearch playground for onPickedPointChangedObservable

onPickedPointChangedObservable: Observable<Nullable<Vector3>>

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

Accessors

rootContainer

  • Gets the root container

    Returns Container3D

scene

  • Gets the hosting scene

    Returns Scene

utilityLayer

Methods

addControlSearch playground for addControl

  • Adds a control to the root child list

    Parameters

    • control: Control3D

      defines the control to add

    Returns GUI3DManager

    the current manager

containsControlSearch playground for containsControl

  • containsControl(control: Control3D): boolean
  • 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

disposeSearch playground for dispose

  • dispose(): void
  • Releases all associated resources

    Returns void

removeControlSearch playground for removeControl

  • 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
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method