 | EntityManagerGetEntities Method (FuncInt32, Boolean) |
Returns the entity ids of all entities which fulfill the specified predicate.
Namespace: Slash.ECS.ComponentsAssembly: Slash.ECS (in Slash.ECS.dll) Version: 1.0.6018.40178
Syntaxpublic IEnumerable<int> GetEntities(
Func<int, bool> predicate
)
Public Function GetEntities (
predicate As Func(Of Integer, Boolean)
) As IEnumerable(Of Integer)
public:
IEnumerable<int>^ GetEntities(
Func<int, bool>^ predicate
)
member GetEntities :
predicate : Func<int, bool> -> IEnumerable<int>
Parameters
- predicate
- Type: SystemFuncInt32, Boolean
Predicate to fulfill.
Return Value
Type:
IEnumerableInt32 Collection of ids of all entities which fulfill the specified predicate.
See Also