Skip to main content

create_default_scene_in_project

Function create_default_scene_in_project 

Source
fn create_default_scene_in_project(
    pvfs: &mut ProjectVfs,
    world: &mut GameWorld,
    rel_path: &str,
)
Expand description

Spawns Main Camera + Directional Light entities, then saves the world to the relative path inside the project (default scenes/default.kscene).