Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add meshes to loader graph #3479

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

feat: add meshes to loader graph #3479

wants to merge 2 commits into from

Conversation

krispya
Copy link
Member

@krispya krispya commented Feb 25, 2025

Adds a typed meshes prop to the ObjecgtMap created by the loader graph. This allows for using meshes from useLoader or useGltf without needing to explicitly type the entire graph.

Copy link

codesandbox-ci bot commented Feb 25, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit c4c45aa:

Sandbox Source
example Configuration

@krispya
Copy link
Member Author

krispya commented Feb 27, 2025

This is ready for review. It allows for using meshes from useLoader without needing to explicitly type them with tools like gltfjsx.

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