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 | 
|---|---|
| RecordView[] | Array of EntitiesJournaling.RecordView.  | 
    
Remarks
Throws InvalidOperationException if records are currently locked for write.
WithComponentType(ComponentType)
Get all records matching a component type.
Declaration
[ExcludeFromBurstCompatTesting("LINQ")]
public static EntitiesJournaling.RecordView[] WithComponentType(ComponentType componentType)
Parameters
| Type | Name | Description | 
|---|---|---|
| ComponentType | componentType | 
Returns
| Type | Description | 
|---|---|
| RecordView[] | Array of EntitiesJournaling.RecordView.  | 
    
Remarks
Throws InvalidOperationException if records are currently locked for write.
WithComponentType(TypeIndex)
Get all records matching a component type index.
Declaration
[ExcludeFromBurstCompatTesting("LINQ")]
public static EntitiesJournaling.RecordView[] WithComponentType(TypeIndex typeIndex)
Parameters
| Type | Name | Description | 
|---|---|---|
| TypeIndex | typeIndex | The component type index.  | 
    
Returns
| Type | Description | 
|---|---|
| RecordView[] | Array of EntitiesJournaling.RecordView.  | 
    
Remarks
Throws InvalidOperationException if records are currently locked for write.