Перейти к основному содержимому

Type Alias: EntityQueryOptions

EntityQueryOptions = object

Filters supported by entity and player queries.

Properties

location?

optional location?: Vector3Like | null

Origin used by the distance filters.


maxDistance?

optional maxDistance?: number | null

Inclusive maximum distance from location.


minDistance?

optional minDistance?: number | null

Inclusive minimum distance from location.


tags?

optional tags?: readonly string[] | null

Include only entities that have every listed tag.


type?

optional type?: string | null

Include only entities with this type identifier.