Documentation

Unity Engine


Unity Engine


GetEntityQueryMask()

Returns an EntityQueryMask, which can be used to quickly determine if an entity matches the query.
Read time 1 minuteLast updated 3 days ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public EntityQueryMask GetEntityQueryMask()

Returns

Type

Description

EntityQueryMaskThe query mask associated with this query.

Remarks

A maximum of 1024 EntityQueryMask instances can be allocated per World. Attempting to create additional masks will throw an exception.