Skip to main content
Module

x/caviar/mod.ts>World#setScene

⚡ Blazing fast, modern, Game Engine powered by WebGPU for Deno and the browser
Latest
method World.prototype.setScene
import { World } from "https://deno.land/x/caviar@2.6.7/mod.ts";

Sets the current scene to the specified scene index

Parameters

id: number

Sets the current scene to the specified scene with the given name

Parameters

name: string