Added mName to aiScene. Primarily to provide access to the "name" member of glTF2 scenes.

This commit is contained in:
Evangel
2020-11-22 15:33:31 +10:00
parent b1f3c48551
commit 67abcb10ba
4 changed files with 12 additions and 2 deletions
+5 -2
View File
@@ -335,12 +335,15 @@ struct aiScene
/**
* @brief The global metadata assigned to the scene itself.
*
* This data contains global metadata which belongs to the scene like
* unit-conversions, versions, vendors or other model-specific data. This
* This data contains global metadata which belongs to the scene like
* unit-conversions, versions, vendors or other model-specific data. This
* can be used to store format-specific metadata as well.
*/
C_STRUCT aiMetadata* mMetaData;
/** The name of the scene itself.
*/
C_STRUCT aiString mName;
#ifdef __cplusplus