Table of Contents

 
RemoveScene
 

Purpose

Removes a given scene from the manager

 

Protoype

void CSceneMngr::RemoveScene (string str_name = "")
 

Parameters

name the name of the scene to remove
 

Description

This function removes a scene from the manager. It disassociates the scene objects but does not remove them completely. If you want to remove the current scene then simply ignore the only parameter.

NOTE: Removing a loaded scene will not cause another scene to automatically load in its place

 

Use

CSceneMngr scene;
scene.RemoveScene("my_scene");
 

Prev: RemoveObject(2)