Function SceneTree.changeScene

Changes the running scene to the one at the given path, after loading it into a PackedScene and creating a new instance. Returns constant OK on success, constant ERR_CANT_OPEN if the path cannot be loaded into a PackedScene, or constant ERR_CANT_CREATE if that scene cannot be instantiated.

godot.core.defs.GodotError changeScene (
  const(String) path
) nothrow @nogc;