mml-io / mml

Metaverse Markup Language
https://mml.io
MIT License
124 stars 15 forks source link

Add loading progress callbacks (#129) #134

Closed MarcusLongmuir closed 11 months ago

MarcusLongmuir commented 11 months ago

Resolves #129

This PR adds a LoadingProgressManager class and adds an instance of it to the MMLScene that allows elements with remote content (and nested documents) to reporting loading states, errors, and progress such that the library usage of the MMLScene can calculate the overall progress. See the video below for a demonstration.

https://github.com/mml-io/mml/assets/669895/2ec9d6f4-b913-445f-ad25-540fdcd3e32a


What kind of changes does your PR introduce? (check at least one)

Does your PR introduce a breaking change? (check one)

Does your PR fulfill the following requirements?