Three.V8

3D rendering engine using JavaScript as user script.

View on GitHub

<–Home

class UIManager

Manages UIArea objects.

Handles UI related Mouse/Touch/Keyboard inputs.

No constructor, exposed as a global object UIManager.

Name Description
Properties  
areas Array of UIArea objects managed by the ui-manager.
Methods  
add() Adds an ui-area to the ui-manager.
remove() Removes an ui-area from the ui-manager.
clear() Removes all ui-areas from the ui-manager.

Properties

areas

.areas: Array

Array of UIArea objects managed by the ui-manager.

Read-only.

Methods

add()

.add(area: UIArea): this

Adds an ui-area to the ui-manager.

remove()

.remove(area: UIArea): this

Removes an ui-area from the ui-manager.

clear()

.clear(): this

Removes all ui-areas from the ui-manager.