文档

Unity Engine

Download Unity

Unity Engine

GetEntityQueryMask()

Returns an EntityQueryMask, which can be used to quickly determine if an entity matches the query.
阅读时间1 分钟最后更新于 19 天前

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.