Namespace: MetarealPlayerSDK

MetarealPlayerSDK

Singleton for the Metareal Player SDK.

Classes

Attachment
Building
Floor
Label
Panorama
Player
Room
RoomViewpoint
Tour
User

Methods

(static) create(parentID) → {MetarealPlayerSDK.Player}

Creates a new player.
Parameters:
Name Type Description
parentID number The ID of HTML element that will be the parent of the player.
Returns:
A new instance of the player parented to playerID


(static) destroy(player)

Destroys and unregisters an existing player.
Parameters:
Name Type Description
player object The player object to destroy.