Skip to content

feat: read custom mesh attribute in user defined extension#458

Open
windwhiterain wants to merge 3 commits intogltf-rs:mainfrom
windwhiterain:local
Open

feat: read custom mesh attribute in user defined extension#458
windwhiterain wants to merge 3 commits intogltf-rs:mainfrom
windwhiterain:local

Conversation

@windwhiterain
Copy link

I add new function "read_extension" for Reader in mesh mod that comsume a type var T and a path to the accessor index in the json value of extensions, then use the accessor of given index, interpret it as Iterator of T value, return None if no such path exists, panic if the accessor is not exists or can't made into Iterator of T.

@alteous
Copy link
Member

alteous commented Jul 18, 2025

Hi, could you run cargo fmt on this and provide some example code (in comments is OK)?

@windwhiterain
Copy link
Author

Hi, could you run cargo fmt on this and provide some example code (in comments is OK)?

Hi, thanks for your reply, i will do this in this weekends.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants