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
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)]