Interface MultiPlayerSceneManagerOptions

For configuring properties of a MultiPlayerSceneManager

MultiPlayerSceneManagerOptions

interface MultiPlayerSceneManagerOptions {
    canvas?: HTMLCanvasElement;
    height?: number;
    initialScene: Scene;
    showPlayerLabels?: boolean;
    width?: number;
}

Properties

canvas?: HTMLCanvasElement

Synthetic canvas to render to, if not provided a canvas will be created

height?: number

Height of canvas (this will overwrite the canvas height on the client)

initialScene: Scene

The scene to start with

showPlayerLabels?: boolean

Whether or not to show player labels

width?: number

Width of canvas (this will overwrite the canvas width on the client)

Generated using TypeDoc