EntityQueryBuilder.AsMap_TKey_(int).md

March 19, 2022 ยท View on GitHub

DefaultEcs

DefaultEcs.EntityQueryBuilder

EntityQueryBuilder.AsMap(int) Method

Returns an EntityMap<TKey> with the specified rules.

public DefaultEcs.EntityMap<TKey> AsMap<TKey>(int capacity);

Type parameters

TKey

The component type to use as key.

Parameters

capacity System.Int32

The initial number of element the EntityMap<TKey> can contain.

Returns

DefaultEcs.EntityMap<TKey>
The EntityMap<TKey>.

Contents

  1. 0.1DefaultEcs.EntityQueryBuilder
  2. 1EntityQueryBuilder.AsMap(int) Method