Represents a scene in sharedb
Constructor
The unique scene id
The realtime API
The realtime connection
The scene data
The scene id - used in combination with the branch id
Whether the scene is loaded
The scene's unique id
Add entity to scene
The entity
Loads scene from sharedb and subscribes to changes.
Removes entity from scene (not from children of another entity)
Submits sharedb operation
The operation
Unloads scene from sharedb and unsubscribes from changes.
Calls the callback when there are no changes pending to be sent to the server
The callback
Represents a scene in sharedb