Skip to content

Commit

Permalink
README.md - add query result screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
friflo committed Aug 2, 2024
1 parent c5ca98f commit 0042cf1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,17 @@ Performance Ratio - see [C# ECS Benchmark](https://github.com/friflo/ECS.CSharp.
- [x] Entity hierarchy / tree ⪪
- [x] Fully reactive / entity events ⚡
- [x] Systems / System groups ⚙️
- [x] Watch entities, components, relations, tags, query results, systems, ... in debugger 🐞
- [x] JSON Serialization 💿
- [x] SIMD Support 🧮
- [x] Supports .NET Standard 2.1 .NET 5 .NET 6 .NET 7 .NET 8
WASM / WebAssembly, Unity (Mono, AOT/IL2CPP, WebGL), Godot, MonoGame, ... and Native AOT
- [x] **100% secure C#** 🔒. No *unsafe code*, *native dll bindings* and *access violations*.
See [Wiki ⋅ Library](https://friflo.gitbook.io/friflo.engine.ecs/package/library#assembly-dll).

See [Wiki ⋅ Library](https://friflo.gitbook.io/friflo.engine.ecs/package/library#assembly-dll).
- [x] Watch entities, components, relations, tags, query results, systems, ... in debugger 🐞
<details>
<summary>Screenshot - Watch ad-hoc query result in debugger</summary>
<img src="docs/images/watch-query-result-set.png" width="656" height="202"/>
</details>

Complete feature list at [Wiki ⋅ Features](https://friflo.gitbook.io/friflo.engine.ecs/package/features).

Expand Down
Binary file added docs/images/watch-query-result-set.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/ECS/Query/ArchetypeQuery.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public class ArchetypeQuery
/// Execution time O(matching <see cref="Archetypes"/>).<br/>
/// Typically, there are only a few matching <see cref="Archetypes"/>.
/// </remarks>
[Browse(Never)]
public int Count => GetEntityCount();

/// <summary> Obsolete. Renamed to <see cref="Count"/>. </summary>
Expand All @@ -35,6 +36,7 @@ public class ArchetypeQuery
public int EntityCount => GetEntityCount();

/// <summary> Return the number of <c>Chunks</c> returned by the query. </summary>
[Browse(Never)]
public int ChunkCount => Archetype.GetChunkCount (GetArchetypesSpan());

/// <summary> Returns the set of <see cref="Archetype"/>'s matching the query.</summary>
Expand Down

0 comments on commit 0042cf1

Please sign in to comment.