Method WithComponentType
WithComponentType(string)
Get all records matching a component type name.
Declaration
[ExcludeFromBurstCompatTesting("LINQ")]
public static EntitiesJournaling.RecordView[] WithComponentType(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The component type name. |
Returns
Type | Description |
---|---|
Record |
Array of Entities |
Remarks
Throws Invalid
WithComponentType(ComponentType)
Get all records matching a component type.
Declaration
[ExcludeFromBurstCompatTesting("LINQ")]
public static EntitiesJournaling.RecordView[] WithComponentType(ComponentType componentType)
Parameters
Type | Name | Description |
---|---|---|
Component |
componentType |
Returns
Type | Description |
---|---|
Record |
Array of Entities |
Remarks
Throws Invalid
WithComponentType(TypeIndex)
Get all records matching a component type index.
Declaration
[ExcludeFromBurstCompatTesting("LINQ")]
public static EntitiesJournaling.RecordView[] WithComponentType(TypeIndex typeIndex)
Parameters
Type | Name | Description |
---|---|---|
Type |
typeIndex | The component type index. |
Returns
Type | Description |
---|---|
Record |
Array of Entities |
Remarks
Throws Invalid