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



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)




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