glTF-SDK
glTF-SDK copied to clipboard
Set child name (rootProperty)
Hello,
I am working on a project where setting/updating the name of the child name is important. I am proposing adding a function to set the name as member of the glTFChildOfRootProperty struct.
Affected file: GLTFSDK/Inc/GLTFSDK/GLTF.h 304: struct glTFChildOfRootProperty : glTFProperty 305: { 306: std::string id; 307: std::string name; ... 320: + public: 321: + void setName ( std::string newName ) { name = newName; } 322: };
If you need more information, do not hesitate to contact me.
Thank you !
Christian
Same for this. Please create a PR to discuss the addition. Thanks!