bool   sgFileManager::GetUserData(const char* file_name, void* usetData)

 

Description:

Returns the user-defined block of data from the file with the sgCore saved scene (read more how to save the scene here).

 

Arguments:

file_name - full path to a file with the scene

userData - user-defined block of data read from the file. The user must allocate the memory for this block of data (you can find out the size of the block using the GetFileHeader() function). This block should be released also by the user.

 

Returned value:

Returns true if the specified file is a file with sgCore objects and the user block of data was read, otherwise false

 

 

See also:

GetFileHeader