- Refactor D3D12 backend and RenderGraph module - Update graphics RHI and core rendering components - Add Random.hlsl shader include - Regenerate API documentation and update user guides
1569 lines
44 KiB
HTML
1569 lines
44 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Struct QueryBuilder | GhostEngine </title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="title" content="Struct QueryBuilder | GhostEngine ">
|
|
|
|
|
|
<link rel="icon" href="../favicon.ico">
|
|
<link rel="stylesheet" href="../public/docfx.min.css">
|
|
<link rel="stylesheet" href="../public/main.css">
|
|
<meta name="docfx:navrel" content="../toc.html">
|
|
<meta name="docfx:tocrel" content="toc.html">
|
|
|
|
<meta name="docfx:rel" content="../">
|
|
|
|
|
|
|
|
<meta name="loc:inThisArticle" content="In this article">
|
|
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
|
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
|
<meta name="loc:tocFilter" content="Filter by title">
|
|
<meta name="loc:nextArticle" content="Next">
|
|
<meta name="loc:prevArticle" content="Previous">
|
|
<meta name="loc:themeLight" content="Light">
|
|
<meta name="loc:themeDark" content="Dark">
|
|
<meta name="loc:themeAuto" content="Auto">
|
|
<meta name="loc:changeTheme" content="Change theme">
|
|
<meta name="loc:copy" content="Copy">
|
|
<meta name="loc:downloadPdf" content="Download PDF">
|
|
|
|
<script type="module" src="./../public/docfx.min.js"></script>
|
|
|
|
<script>
|
|
const theme = localStorage.getItem('theme') || 'auto'
|
|
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
|
<header class="bg-body border-bottom">
|
|
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
|
<div class="container-xxl flex-nowrap">
|
|
<a class="navbar-brand" href="../index.html">
|
|
<img id="logo" class="svg" src="../logo.svg" alt="GhostEngine">
|
|
GhostEngine
|
|
</a>
|
|
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
|
<i class="bi bi-three-dots"></i>
|
|
</button>
|
|
<div class="collapse navbar-collapse" id="navpanel">
|
|
<div id="navbar">
|
|
<form class="search" role="search" id="search">
|
|
<i class="bi bi-search"></i>
|
|
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
</header>
|
|
|
|
<main class="container-xxl">
|
|
<div class="toc-offcanvas">
|
|
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
|
<div class="offcanvas-header">
|
|
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
|
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
|
</div>
|
|
<div class="offcanvas-body">
|
|
<nav class="toc" id="toc"></nav>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="content">
|
|
<div class="actionbar">
|
|
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
|
<i class="bi bi-list"></i>
|
|
</button>
|
|
|
|
<nav id="breadcrumb"></nav>
|
|
</div>
|
|
|
|
<article data-uid="Ghost.Entities.QueryBuilder">
|
|
|
|
|
|
|
|
<h1 id="Ghost_Entities_QueryBuilder" data-uid="Ghost.Entities.QueryBuilder" class="text-break">
|
|
Struct QueryBuilder
|
|
</h1>
|
|
|
|
<div class="facts text-secondary">
|
|
<dl><dt>Namespace</dt><dd><a class="xref" href="Ghost.html">Ghost</a>.<a class="xref" href="Ghost.Entities.html">Entities</a></dd></dl>
|
|
<dl><dt>Assembly</dt><dd>Ghost.Entities.dll</dd></dl>
|
|
</div>
|
|
|
|
<div class="markdown summary"></div>
|
|
<div class="markdown conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public ref struct QueryBuilder : IDisposable</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<dl class="typelist implements">
|
|
<dt>Implements</dt>
|
|
<dd>
|
|
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<dl class="typelist inheritedMembers">
|
|
<dt>Inherited Members</dt>
|
|
<dd>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.valuetype.equals">ValueType.Equals(object)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.valuetype.gethashcode">ValueType.GetHashCode()</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.valuetype.tostring">ValueType.ToString()</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
|
|
</div>
|
|
</dd></dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h2 class="section" id="constructors">Constructors
|
|
</h2>
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder__ctor_" data-uid="Ghost.Entities.QueryBuilder.#ctor*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder__ctor" data-uid="Ghost.Entities.QueryBuilder.#ctor">
|
|
QueryBuilder()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public QueryBuilder()</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h2 class="section" id="methods">Methods
|
|
</h2>
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_Build_" data-uid="Ghost.Entities.QueryBuilder.Build*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_Build_Ghost_Entities_World_System_Boolean_" data-uid="Ghost.Entities.QueryBuilder.Build(Ghost.Entities.World,System.Boolean)">
|
|
Build(World, bool)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public Identifier<EntityQuery> Build(World world, bool dispose = true)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>world</code> <a class="xref" href="Ghost.Entities.World.html">World</a></dt>
|
|
<dd></dd>
|
|
<dt><code>dispose</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><span class="xref">Identifier</span><<a class="xref" href="Ghost.Entities.EntityQuery.html">EntityQuery</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_BuildWithoutCache_" data-uid="Ghost.Entities.QueryBuilder.BuildWithoutCache*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_BuildWithoutCache_Ghost_Entities_World_Misaki_HighPerformance_LowLevel_Buffer_AllocationHandle_System_Boolean_" data-uid="Ghost.Entities.QueryBuilder.BuildWithoutCache(Ghost.Entities.World,Misaki.HighPerformance.LowLevel.Buffer.AllocationHandle,System.Boolean)">
|
|
BuildWithoutCache(World, AllocationHandle, bool)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public EntityQuery BuildWithoutCache(World world, AllocationHandle allocationHandle, bool dispose = true)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>world</code> <a class="xref" href="Ghost.Entities.World.html">World</a></dt>
|
|
<dd></dd>
|
|
<dt><code>allocationHandle</code> <span class="xref">AllocationHandle</span></dt>
|
|
<dd></dd>
|
|
<dt><code>dispose</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Ghost.Entities.EntityQuery.html">EntityQuery</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_Clear_" data-uid="Ghost.Entities.QueryBuilder.Clear*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_Clear" data-uid="Ghost.Entities.QueryBuilder.Clear">
|
|
Clear()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public void Clear()</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_Create_" data-uid="Ghost.Entities.QueryBuilder.Create*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_Create" data-uid="Ghost.Entities.QueryBuilder.Create">
|
|
Create()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static QueryBuilder Create()</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Ghost.Entities.QueryBuilder.html">QueryBuilder</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_Dispose_" data-uid="Ghost.Entities.QueryBuilder.Dispose*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_Dispose" data-uid="Ghost.Entities.QueryBuilder.Dispose">
|
|
Dispose()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public readonly void Dispose()</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithAbsent_" data-uid="Ghost.Entities.QueryBuilder.WithAbsent*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithAbsent_System_Span_Ghost_Core_Identifier_Ghost_Entities_IComponent___" data-uid="Ghost.Entities.QueryBuilder.WithAbsent(System.Span{Ghost.Core.Identifier{Ghost.Entities.IComponent}})">
|
|
WithAbsent(params Span<Identifier<IComponent>>)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public void WithAbsent(params Span<Identifier<IComponent>> componentIDs)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>componentIDs</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.span-1">Span</a><<span class="xref">Identifier</span><<a class="xref" href="Ghost.Entities.IComponent.html">IComponent</a>>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithAbsent_" data-uid="Ghost.Entities.QueryBuilder.WithAbsent*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithAbsent__1" data-uid="Ghost.Entities.QueryBuilder.WithAbsent``1">
|
|
WithAbsent<T0>()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Adds the specified component type(s) to the 'Absent' filter of the query.
|
|
Targets entities that do not have any of the specified component types.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[UnscopedRef]
|
|
public ref QueryBuilder WithAbsent<T0>() where T0 : unmanaged, IComponent</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Ghost.Entities.QueryBuilder.html">QueryBuilder</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Type Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>T0</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithAbsent_" data-uid="Ghost.Entities.QueryBuilder.WithAbsent*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithAbsent__2" data-uid="Ghost.Entities.QueryBuilder.WithAbsent``2">
|
|
WithAbsent<T0, T1>()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Adds the specified component type(s) to the 'Absent' filter of the query.
|
|
Targets entities that do not have any of the specified component types.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[UnscopedRef]
|
|
public ref QueryBuilder WithAbsent<T0, T1>() where T0 : unmanaged, IComponent where T1 : unmanaged, IComponent</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Ghost.Entities.QueryBuilder.html">QueryBuilder</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Type Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>T0</code></dt>
|
|
<dd></dd>
|
|
<dt><code>T1</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithAbsent_" data-uid="Ghost.Entities.QueryBuilder.WithAbsent*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithAbsent__3" data-uid="Ghost.Entities.QueryBuilder.WithAbsent``3">
|
|
WithAbsent<T0, T1, T2>()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Adds the specified component type(s) to the 'Absent' filter of the query.
|
|
Targets entities that do not have any of the specified component types.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[UnscopedRef]
|
|
public ref QueryBuilder WithAbsent<T0, T1, T2>() where T0 : unmanaged, IComponent where T1 : unmanaged, IComponent where T2 : unmanaged, IComponent</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Ghost.Entities.QueryBuilder.html">QueryBuilder</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Type Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>T0</code></dt>
|
|
<dd></dd>
|
|
<dt><code>T1</code></dt>
|
|
<dd></dd>
|
|
<dt><code>T2</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithAll_" data-uid="Ghost.Entities.QueryBuilder.WithAll*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithAll_System_Span_Ghost_Core_Identifier_Ghost_Entities_IComponent___" data-uid="Ghost.Entities.QueryBuilder.WithAll(System.Span{Ghost.Core.Identifier{Ghost.Entities.IComponent}})">
|
|
WithAll(params Span<Identifier<IComponent>>)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public void WithAll(params Span<Identifier<IComponent>> componentIDs)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>componentIDs</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.span-1">Span</a><<span class="xref">Identifier</span><<a class="xref" href="Ghost.Entities.IComponent.html">IComponent</a>>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithAllRW_" data-uid="Ghost.Entities.QueryBuilder.WithAllRW*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithAllRW__1" data-uid="Ghost.Entities.QueryBuilder.WithAllRW``1">
|
|
WithAllRW<T0>()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Adds the specified component type(s) to the 'All' filter of the query and requires read-write access.
|
|
Targets entities that have all of the specified component types and those component(s) must be enabled.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[UnscopedRef]
|
|
public ref QueryBuilder WithAllRW<T0>() where T0 : unmanaged, IComponent</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Ghost.Entities.QueryBuilder.html">QueryBuilder</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Type Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>T0</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithAllRW_" data-uid="Ghost.Entities.QueryBuilder.WithAllRW*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithAllRW__2" data-uid="Ghost.Entities.QueryBuilder.WithAllRW``2">
|
|
WithAllRW<T0, T1>()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Adds the specified component type(s) to the 'All' filter of the query and requires read-write access.
|
|
Targets entities that have all of the specified component types and those component(s) must be enabled.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[UnscopedRef]
|
|
public ref QueryBuilder WithAllRW<T0, T1>() where T0 : unmanaged, IComponent where T1 : unmanaged, IComponent</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Ghost.Entities.QueryBuilder.html">QueryBuilder</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Type Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>T0</code></dt>
|
|
<dd></dd>
|
|
<dt><code>T1</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithAllRW_" data-uid="Ghost.Entities.QueryBuilder.WithAllRW*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithAllRW__3" data-uid="Ghost.Entities.QueryBuilder.WithAllRW``3">
|
|
WithAllRW<T0, T1, T2>()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Adds the specified component type(s) to the 'All' filter of the query and requires read-write access.
|
|
Targets entities that have all of the specified component types and those component(s) must be enabled.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[UnscopedRef]
|
|
public ref QueryBuilder WithAllRW<T0, T1, T2>() where T0 : unmanaged, IComponent where T1 : unmanaged, IComponent where T2 : unmanaged, IComponent</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Ghost.Entities.QueryBuilder.html">QueryBuilder</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Type Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>T0</code></dt>
|
|
<dd></dd>
|
|
<dt><code>T1</code></dt>
|
|
<dd></dd>
|
|
<dt><code>T2</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithAll_" data-uid="Ghost.Entities.QueryBuilder.WithAll*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithAll__1" data-uid="Ghost.Entities.QueryBuilder.WithAll``1">
|
|
WithAll<T0>()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Adds the specified component type(s) to the 'All' filter of the query.
|
|
Targets entities that have all of the specified component types and those component(s) must be enabled.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[UnscopedRef]
|
|
public ref QueryBuilder WithAll<T0>() where T0 : unmanaged, IComponent</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Ghost.Entities.QueryBuilder.html">QueryBuilder</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Type Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>T0</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithAll_" data-uid="Ghost.Entities.QueryBuilder.WithAll*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithAll__2" data-uid="Ghost.Entities.QueryBuilder.WithAll``2">
|
|
WithAll<T0, T1>()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Adds the specified component type(s) to the 'All' filter of the query.
|
|
Targets entities that have all of the specified component types and those component(s) must be enabled.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[UnscopedRef]
|
|
public ref QueryBuilder WithAll<T0, T1>() where T0 : unmanaged, IComponent where T1 : unmanaged, IComponent</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Ghost.Entities.QueryBuilder.html">QueryBuilder</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Type Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>T0</code></dt>
|
|
<dd></dd>
|
|
<dt><code>T1</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithAll_" data-uid="Ghost.Entities.QueryBuilder.WithAll*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithAll__3" data-uid="Ghost.Entities.QueryBuilder.WithAll``3">
|
|
WithAll<T0, T1, T2>()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Adds the specified component type(s) to the 'All' filter of the query.
|
|
Targets entities that have all of the specified component types and those component(s) must be enabled.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[UnscopedRef]
|
|
public ref QueryBuilder WithAll<T0, T1, T2>() where T0 : unmanaged, IComponent where T1 : unmanaged, IComponent where T2 : unmanaged, IComponent</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Ghost.Entities.QueryBuilder.html">QueryBuilder</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Type Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>T0</code></dt>
|
|
<dd></dd>
|
|
<dt><code>T1</code></dt>
|
|
<dd></dd>
|
|
<dt><code>T2</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithAny_" data-uid="Ghost.Entities.QueryBuilder.WithAny*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithAny_System_Span_Ghost_Core_Identifier_Ghost_Entities_IComponent___" data-uid="Ghost.Entities.QueryBuilder.WithAny(System.Span{Ghost.Core.Identifier{Ghost.Entities.IComponent}})">
|
|
WithAny(params Span<Identifier<IComponent>>)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public void WithAny(params Span<Identifier<IComponent>> componentIDs)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>componentIDs</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.span-1">Span</a><<span class="xref">Identifier</span><<a class="xref" href="Ghost.Entities.IComponent.html">IComponent</a>>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithAny_" data-uid="Ghost.Entities.QueryBuilder.WithAny*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithAny__1" data-uid="Ghost.Entities.QueryBuilder.WithAny``1">
|
|
WithAny<T0>()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Adds the specified component type(s) to the 'Any' filter of the query.
|
|
Targets entities that have at least one of the specified component types and those component(s) must be enabled.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[UnscopedRef]
|
|
public ref QueryBuilder WithAny<T0>() where T0 : unmanaged, IComponent</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Ghost.Entities.QueryBuilder.html">QueryBuilder</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Type Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>T0</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithAny_" data-uid="Ghost.Entities.QueryBuilder.WithAny*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithAny__2" data-uid="Ghost.Entities.QueryBuilder.WithAny``2">
|
|
WithAny<T0, T1>()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Adds the specified component type(s) to the 'Any' filter of the query.
|
|
Targets entities that have at least one of the specified component types and those component(s) must be enabled.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[UnscopedRef]
|
|
public ref QueryBuilder WithAny<T0, T1>() where T0 : unmanaged, IComponent where T1 : unmanaged, IComponent</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Ghost.Entities.QueryBuilder.html">QueryBuilder</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Type Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>T0</code></dt>
|
|
<dd></dd>
|
|
<dt><code>T1</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithAny_" data-uid="Ghost.Entities.QueryBuilder.WithAny*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithAny__3" data-uid="Ghost.Entities.QueryBuilder.WithAny``3">
|
|
WithAny<T0, T1, T2>()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Adds the specified component type(s) to the 'Any' filter of the query.
|
|
Targets entities that have at least one of the specified component types and those component(s) must be enabled.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[UnscopedRef]
|
|
public ref QueryBuilder WithAny<T0, T1, T2>() where T0 : unmanaged, IComponent where T1 : unmanaged, IComponent where T2 : unmanaged, IComponent</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Ghost.Entities.QueryBuilder.html">QueryBuilder</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Type Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>T0</code></dt>
|
|
<dd></dd>
|
|
<dt><code>T1</code></dt>
|
|
<dd></dd>
|
|
<dt><code>T2</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithDisabled_" data-uid="Ghost.Entities.QueryBuilder.WithDisabled*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithDisabled_System_Span_Ghost_Core_Identifier_Ghost_Entities_IComponent___" data-uid="Ghost.Entities.QueryBuilder.WithDisabled(System.Span{Ghost.Core.Identifier{Ghost.Entities.IComponent}})">
|
|
WithDisabled(params Span<Identifier<IComponent>>)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public void WithDisabled(params Span<Identifier<IComponent>> componentIDs)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>componentIDs</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.span-1">Span</a><<span class="xref">Identifier</span><<a class="xref" href="Ghost.Entities.IComponent.html">IComponent</a>>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithDisabled_" data-uid="Ghost.Entities.QueryBuilder.WithDisabled*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithDisabled__1" data-uid="Ghost.Entities.QueryBuilder.WithDisabled``1">
|
|
WithDisabled<T0>()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Adds the specified component type(s) to the 'Disabled' filter of the query.
|
|
Targets entities that have all of the specified component types and those component(s) are disabled.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[UnscopedRef]
|
|
public ref QueryBuilder WithDisabled<T0>() where T0 : unmanaged, IEnableableComponent</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Ghost.Entities.QueryBuilder.html">QueryBuilder</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Type Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>T0</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithDisabled_" data-uid="Ghost.Entities.QueryBuilder.WithDisabled*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithDisabled__2" data-uid="Ghost.Entities.QueryBuilder.WithDisabled``2">
|
|
WithDisabled<T0, T1>()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Adds the specified component type(s) to the 'Disabled' filter of the query.
|
|
Targets entities that have all of the specified component types and those component(s) are disabled.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[UnscopedRef]
|
|
public ref QueryBuilder WithDisabled<T0, T1>() where T0 : unmanaged, IEnableableComponent where T1 : unmanaged, IEnableableComponent</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Ghost.Entities.QueryBuilder.html">QueryBuilder</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Type Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>T0</code></dt>
|
|
<dd></dd>
|
|
<dt><code>T1</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithDisabled_" data-uid="Ghost.Entities.QueryBuilder.WithDisabled*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithDisabled__3" data-uid="Ghost.Entities.QueryBuilder.WithDisabled``3">
|
|
WithDisabled<T0, T1, T2>()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Adds the specified component type(s) to the 'Disabled' filter of the query.
|
|
Targets entities that have all of the specified component types and those component(s) are disabled.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[UnscopedRef]
|
|
public ref QueryBuilder WithDisabled<T0, T1, T2>() where T0 : unmanaged, IEnableableComponent where T1 : unmanaged, IEnableableComponent where T2 : unmanaged, IEnableableComponent</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Ghost.Entities.QueryBuilder.html">QueryBuilder</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Type Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>T0</code></dt>
|
|
<dd></dd>
|
|
<dt><code>T1</code></dt>
|
|
<dd></dd>
|
|
<dt><code>T2</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithNone_" data-uid="Ghost.Entities.QueryBuilder.WithNone*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithNone_System_Span_Ghost_Core_Identifier_Ghost_Entities_IComponent___" data-uid="Ghost.Entities.QueryBuilder.WithNone(System.Span{Ghost.Core.Identifier{Ghost.Entities.IComponent}})">
|
|
WithNone(params Span<Identifier<IComponent>>)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public void WithNone(params Span<Identifier<IComponent>> componentIDs)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>componentIDs</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.span-1">Span</a><<span class="xref">Identifier</span><<a class="xref" href="Ghost.Entities.IComponent.html">IComponent</a>>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithNone_" data-uid="Ghost.Entities.QueryBuilder.WithNone*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithNone__1" data-uid="Ghost.Entities.QueryBuilder.WithNone``1">
|
|
WithNone<T0>()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Adds the specified component type(s) to the 'None' filter of the query.
|
|
Targets entities that do not have any of the specified component types, or those component(s) are disabled.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[UnscopedRef]
|
|
public ref QueryBuilder WithNone<T0>() where T0 : unmanaged, IComponent</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Ghost.Entities.QueryBuilder.html">QueryBuilder</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Type Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>T0</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithNone_" data-uid="Ghost.Entities.QueryBuilder.WithNone*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithNone__2" data-uid="Ghost.Entities.QueryBuilder.WithNone``2">
|
|
WithNone<T0, T1>()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Adds the specified component type(s) to the 'None' filter of the query.
|
|
Targets entities that do not have any of the specified component types, or those component(s) are disabled.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[UnscopedRef]
|
|
public ref QueryBuilder WithNone<T0, T1>() where T0 : unmanaged, IComponent where T1 : unmanaged, IComponent</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Ghost.Entities.QueryBuilder.html">QueryBuilder</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Type Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>T0</code></dt>
|
|
<dd></dd>
|
|
<dt><code>T1</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithNone_" data-uid="Ghost.Entities.QueryBuilder.WithNone*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithNone__3" data-uid="Ghost.Entities.QueryBuilder.WithNone``3">
|
|
WithNone<T0, T1, T2>()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Adds the specified component type(s) to the 'None' filter of the query.
|
|
Targets entities that do not have any of the specified component types, or those component(s) are disabled.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[UnscopedRef]
|
|
public ref QueryBuilder WithNone<T0, T1, T2>() where T0 : unmanaged, IComponent where T1 : unmanaged, IComponent where T2 : unmanaged, IComponent</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Ghost.Entities.QueryBuilder.html">QueryBuilder</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Type Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>T0</code></dt>
|
|
<dd></dd>
|
|
<dt><code>T1</code></dt>
|
|
<dd></dd>
|
|
<dt><code>T2</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithPresent_" data-uid="Ghost.Entities.QueryBuilder.WithPresent*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithPresent_System_Span_Ghost_Core_Identifier_Ghost_Entities_IComponent___" data-uid="Ghost.Entities.QueryBuilder.WithPresent(System.Span{Ghost.Core.Identifier{Ghost.Entities.IComponent}})">
|
|
WithPresent(params Span<Identifier<IComponent>>)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public void WithPresent(params Span<Identifier<IComponent>> componentIDs)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>componentIDs</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.span-1">Span</a><<span class="xref">Identifier</span><<a class="xref" href="Ghost.Entities.IComponent.html">IComponent</a>>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithPresentRW_" data-uid="Ghost.Entities.QueryBuilder.WithPresentRW*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithPresentRW_System_Span_Ghost_Core_Identifier_Ghost_Entities_IComponent___" data-uid="Ghost.Entities.QueryBuilder.WithPresentRW(System.Span{Ghost.Core.Identifier{Ghost.Entities.IComponent}})">
|
|
WithPresentRW(params Span<Identifier<IComponent>>)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public void WithPresentRW(params Span<Identifier<IComponent>> componentIDs)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>componentIDs</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.span-1">Span</a><<span class="xref">Identifier</span><<a class="xref" href="Ghost.Entities.IComponent.html">IComponent</a>>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithPresentRW_" data-uid="Ghost.Entities.QueryBuilder.WithPresentRW*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithPresentRW__1" data-uid="Ghost.Entities.QueryBuilder.WithPresentRW``1">
|
|
WithPresentRW<T0>()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Adds the specified component type(s) to the 'Present' filter of the query and requires read-write access.
|
|
Targets entities that have all of the specified component types, regardless of whether those component(s) are enabled or disabled.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[UnscopedRef]
|
|
public ref QueryBuilder WithPresentRW<T0>() where T0 : unmanaged, IComponent</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Ghost.Entities.QueryBuilder.html">QueryBuilder</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Type Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>T0</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithPresentRW_" data-uid="Ghost.Entities.QueryBuilder.WithPresentRW*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithPresentRW__2" data-uid="Ghost.Entities.QueryBuilder.WithPresentRW``2">
|
|
WithPresentRW<T0, T1>()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Adds the specified component type(s) to the 'Present' filter of the query and requires read-write access.
|
|
Targets entities that have all of the specified component types, regardless of whether those component(s) are enabled or disabled.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[UnscopedRef]
|
|
public ref QueryBuilder WithPresentRW<T0, T1>() where T0 : unmanaged, IComponent where T1 : unmanaged, IComponent</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Ghost.Entities.QueryBuilder.html">QueryBuilder</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Type Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>T0</code></dt>
|
|
<dd></dd>
|
|
<dt><code>T1</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithPresentRW_" data-uid="Ghost.Entities.QueryBuilder.WithPresentRW*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithPresentRW__3" data-uid="Ghost.Entities.QueryBuilder.WithPresentRW``3">
|
|
WithPresentRW<T0, T1, T2>()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Adds the specified component type(s) to the 'Present' filter of the query and requires read-write access.
|
|
Targets entities that have all of the specified component types, regardless of whether those component(s) are enabled or disabled.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[UnscopedRef]
|
|
public ref QueryBuilder WithPresentRW<T0, T1, T2>() where T0 : unmanaged, IComponent where T1 : unmanaged, IComponent where T2 : unmanaged, IComponent</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Ghost.Entities.QueryBuilder.html">QueryBuilder</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Type Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>T0</code></dt>
|
|
<dd></dd>
|
|
<dt><code>T1</code></dt>
|
|
<dd></dd>
|
|
<dt><code>T2</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithPresent_" data-uid="Ghost.Entities.QueryBuilder.WithPresent*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithPresent__1" data-uid="Ghost.Entities.QueryBuilder.WithPresent``1">
|
|
WithPresent<T0>()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Adds the specified component type(s) to the 'Present' filter of the query.
|
|
Targets entities that have all of the specified component types, regardless of whether those component(s) are enabled or disabled.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[UnscopedRef]
|
|
public ref QueryBuilder WithPresent<T0>() where T0 : unmanaged, IComponent</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Ghost.Entities.QueryBuilder.html">QueryBuilder</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Type Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>T0</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithPresent_" data-uid="Ghost.Entities.QueryBuilder.WithPresent*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithPresent__2" data-uid="Ghost.Entities.QueryBuilder.WithPresent``2">
|
|
WithPresent<T0, T1>()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Adds the specified component type(s) to the 'Present' filter of the query.
|
|
Targets entities that have all of the specified component types, regardless of whether those component(s) are enabled or disabled.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[UnscopedRef]
|
|
public ref QueryBuilder WithPresent<T0, T1>() where T0 : unmanaged, IComponent where T1 : unmanaged, IComponent</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Ghost.Entities.QueryBuilder.html">QueryBuilder</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Type Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>T0</code></dt>
|
|
<dd></dd>
|
|
<dt><code>T1</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Ghost_Entities_QueryBuilder_WithPresent_" data-uid="Ghost.Entities.QueryBuilder.WithPresent*"></a>
|
|
|
|
<h3 id="Ghost_Entities_QueryBuilder_WithPresent__3" data-uid="Ghost.Entities.QueryBuilder.WithPresent``3">
|
|
WithPresent<T0, T1, T2>()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Adds the specified component type(s) to the 'Present' filter of the query.
|
|
Targets entities that have all of the specified component types, regardless of whether those component(s) are enabled or disabled.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">[UnscopedRef]
|
|
public ref QueryBuilder WithPresent<T0, T1, T2>() where T0 : unmanaged, IComponent where T1 : unmanaged, IComponent where T2 : unmanaged, IComponent</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Ghost.Entities.QueryBuilder.html">QueryBuilder</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Type Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>T0</code></dt>
|
|
<dd></dd>
|
|
<dt><code>T1</code></dt>
|
|
<dd></dd>
|
|
<dt><code>T2</code></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
<div class="contribution d-print-none">
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
<div class="affix">
|
|
<nav id="affix"></nav>
|
|
</div>
|
|
</main>
|
|
|
|
<div class="container-xxl search-results" id="search-results"></div>
|
|
|
|
<footer class="border-top text-secondary">
|
|
<div class="container-xxl">
|
|
<div class="flex-fill">
|
|
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</body>
|
|
</html>
|