Added mName to aiScene. Primarily to provide access to the "name" member of glTF2 scenes.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user