ArchetypeQuery_T1,T2,T3,T4_.AnyComponents(ComponentTypes).md
May 21, 2024 ยท View on GitHub
Friflo.Engine.ECS
Friflo.Engine.ECS.ArchetypeQuery<T1,T2,T3,T4>
ArchetypeQuery<T1,T2,T3,T4>.AnyComponents(ComponentTypes) Method
A query result will contain only entities having any of the the passed componentTypes.
public Friflo.Engine.ECS.ArchetypeQuery<T1,T2,T3,T4> AnyComponents(in Friflo.Engine.ECS.ComponentTypes componentTypes);
Parameters
componentTypes ComponentTypes
Use ComponentTypes.Get<>() to set the parameter.