LuaQueryBuilder

Type doc:

Fields:

Methods:

with: function(self: LuaQueryBuilder , ...: LuaTypeRegistration ):( LuaQueryBuilder )

A Builder object which allows for filtering and iterating over components and entities in the world.

Filters out entities without any of the components passed

without: function(self: LuaQueryBuilder , ...: LuaTypeRegistration ):( LuaQueryBuilder )

Filters out entities with any components passed

iter: function(self: LuaQueryBuilder ):(function():( LuaEntity , ReflectedValue... ))

Queries the world and returns an iterator over the entity and components.