 | EntityManagerEntitiesWithComponent Method |
Returns an iterator over all entities having components of the specified type attached.
Namespace: Slash.ECS.ComponentsAssembly: Slash.ECS (in Slash.ECS.dll) Version: 1.0.6018.40178
Syntaxpublic IEnumerable<int> EntitiesWithComponent(
Type type
)
Public Function EntitiesWithComponent (
type As Type
) As IEnumerable(Of Integer)
public:
IEnumerable<int>^ EntitiesWithComponent(
Type^ type
)
member EntitiesWithComponent :
type : Type -> IEnumerable<int>
Parameters
- type
- Type: SystemType
Type of the components to get the entities of.
Return Value
Type:
IEnumerableInt32 Entities having components of the specified type attached.
Exceptions
See Also