lo48576 / fbxcel-dom

FBX DOM library for Rust. // See https://github.com/lo48576/fbx-viewer for working example application // rework (total rewrite) is planned
Apache License 2.0
24 stars 10 forks source link

Add a minimal GlobalSettings accessor #15

Closed nicopap closed 1 year ago

nicopap commented 1 year ago

Expose a GlobalSettings struct to access document-wide settings information, such as scale factor or axis direction.

The API as defined in this PR is EXTREMELY BAREBONE, requiring the user to manually specify the name of the properties they want to access.

This is in order to avoid blocking on any particular details. Favoring further discussions about unit precision or how to expose a proper axis direction API for later.

I'd really like to see this go through, it's a blocker for some features on https://github.com/HeavyRain266/bevy_fbx/

See also:

lo48576 commented 1 year ago

Thank you! Released as v0.0.9.

nicopap commented 1 year ago

Thank you too!