Class: RecorderUI

RecorderUI(scene, name)

Event Recorder is server-side component. This UI sends commands to the server that control recording and playback. UI buttons (record, stop, play) are bound to current camera.

Constructor

new RecorderUI(scene, name)

Parameters:
Name Type Description
scene babylonjs scene
name eventRecorder name, defaults to Recorder:userId on the server
Source:

Classes

RecorderUI

Methods

delete()

Delete current recorder
Source:

hide()

Clear current hud row and display all buttons
Source:

load()

Upload and load recording JSON
Source:

play()

Start playing
Source:

record()

Start recording
Source:

save()

Save and download recording JSON
Source:

show(button)

Shows the UI
Parameters:
Name Type Description
button * option HUD button that activates this submenu
Source:

stop()

Stop recording
Source: