Query with ordering / sorting?
Đang mở
- Ngôn ngữ chính
- Rust
- Star
- 1.7k
- Fork
- 140
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Is there a way to query entities with a given component, sorted by a value in the component?
I'm thinking of the case where entities represent 'Renderable' objects, which are sorted spatially. You'd want to visit them back->front for example.
I can't see such a thing in the docs, and I get that you could build a cache of the ordering by sorting entity ids yourself....
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.