You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is the use case: I have a GLB file containing multiple animations named as
filename.glb#Animation{i}
where i starts with 0 and keeps incrementing. For example, if the glb file has 30 animations then in order to load them into a Vec, we have to do something like
This works, but it's very tedious and error prone to manually constructs the paths array.
It would be great if we can add some path_pattern support. Maybe something like the following
#[asset(paths_pattern("filename.glb#Animation{}", 0..30), collection(typed)]
The text was updated successfully, but these errors were encountered:
There is the use case: I have a GLB file containing multiple animations named as
where
i
starts with 0 and keeps incrementing. For example, if the glb file has 30 animations then in order to load them into aVec
, we have to do something likeThis works, but it's very tedious and error prone to manually constructs the
paths
array.It would be great if we can add some
path_pattern
support. Maybe something like the following#[asset(paths_pattern("filename.glb#Animation{}", 0..30), collection(typed)]
The text was updated successfully, but these errors were encountered: