Load a panorama into current viewer.
Signature:
loadPano(panoId: number, configOrOnProgress?: Load360Config | ProgressFn): Promise<void>;
Parameter | Description |
---|---|
panoId | The asset ID in number. |
configOrOnProgress | Load360Config | Config object for model loading. Accept config object or onProgress callback function. |
Returns:
Promise<void>
a promise.