Adds the camera to available APIs with retrieving of the worldView
This commit is contained in:
parent
99dfd77600
commit
5b6a8ca4d7
9 changed files with 86 additions and 7 deletions
|
@ -20,6 +20,7 @@ import type { ButtonDescriptor } from "./Api/iframe/Ui/ButtonDescriptor";
|
|||
import type { Popup } from "./Api/iframe/Ui/Popup";
|
||||
import type { Sound } from "./Api/iframe/Sound/Sound";
|
||||
import { answerPromises, queryWorkadventure } from "./Api/iframe/IframeApiContribution";
|
||||
import camera from "./Api/iframe/camera";
|
||||
|
||||
const globalState = createState("global");
|
||||
|
||||
|
@ -45,6 +46,7 @@ const wa = {
|
|||
sound,
|
||||
room,
|
||||
player,
|
||||
camera,
|
||||
state: globalState,
|
||||
|
||||
onInit(): Promise<void> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue