bool   sgFileManager::Open(const sgCScene* scen, const char* file_name)

 

Description:

Loads objects from a file and attaches them to the specified scene (read more how to save the scene here). In this case the user-defined block of data is ignored (you can get it using the GetFileHeader() and GetUserData() functions)

 

 

Arguments:

scen - scene the loaded from the file object are attached to (the result of calling the sgCScene::GetScene() function)

file_name - full path to a file the scene will be saved to

 

Returned value:

Returns true in case of successful loading, otherwise - false

 

See also:

GetFileHeader GetUserData Save