Class GUI3DManager
Hierarchy
- GUI3DManager
Implements
Index
Constructors
Properties
Accessors
Methods
Constructors
constructor
-
Creates a new GUI3DManager
Parameters
-
Optional scene: Scene
Returns GUI3DManager
-
Properties
on Picked Point Changed ObservableSearch playground for onPickedPointChangedObservable
BABYLON.Observable raised when the point picked by the pointer events changed
on Picking ObservableSearch playground for onPickingObservable
BABYLON.Observable raised when a picking happens
Accessors
control Scaling
-
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 any
-
root Container
-
Gets the root container
Returns Container3D
scene
-
Gets the hosting scene
Returns Scene
use Realistic Scaling
-
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 any
-
utility Layer
-
Gets associated utility layer
Returns Nullable<UtilityLayerRenderer>
Methods
add ControlSearch playground for addControl
-
Adds a control to the root child list
Parameters
-
control: Control3D
defines the control to add
Returns GUI3DManager
the current manager
-
contains ControlSearch playground for containsControl
-
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
-
Releases all associated resources
Returns void
remove ControlSearch playground for removeControl
-
Removes a control from the root child list
Parameters
-
control: Control3D
defines the control to remove
Returns GUI3DManager
the current container
-
Class used to manage 3D user interface
https://doc.babylonjs.com/how_to/gui3d