vpenades / SharpGLTF

glTF reader and writer for .NET Standard
MIT License
467 stars 75 forks source link

Add the Extras attribute to Scenes #83

Closed lz852153492 closed 3 years ago

lz852153492 commented 3 years ago

I want to add the Extras attribute to Scenes and assign values to Extras. What should I do? I didn’t find a way to assign values

vpenades commented 3 years ago

Hi

It's been added recently to the development branch, the Alpha20 nuget package still doesn't support it.

In the developers branch the Extras property is implemented as a JsonContent which you can fill in a number of ways.

vpenades commented 3 years ago

Fixed in the new Alpha21 package.