glTF-SDK icon indicating copy to clipboard operation
glTF-SDK copied to clipboard

Set child name (rootProperty)

Open tulvanchristian opened this issue 4 years ago • 1 comments

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

tulvanchristian avatar Sep 22 '20 15:09 tulvanchristian

Same for this. Please create a PR to discuss the addition. Thanks!

bghgary avatar Sep 22 '20 17:09 bghgary