Create an instance of Scene class with a given scene id and optional attributes and session credentials.
await new Scene(topia, "sceneId", { attributes: { name: "My Scene" }, credentials: { apiKey: "exampleKey", interactiveNonce: "exampleNonce", urlSlug: "exampleWorld", visitorId: 1 }});
Readonly
Optional
Retrieves scene details.
await scene.fetchSceneById();const { name } = scene;
Summary
Create an instance of Scene class with a given scene id and optional attributes and session credentials.
Usage