EntityProcessorCollection Class
Namespace: Stride.EngineAssembly: Stride.Engine.dll
Ordered collection of EntityProcessor based on the Order property.
Derived from EntityProcessorCollection:
public class EntityProcessorCollection : OrderedCollection<EntityProcessor>, ICollection<EntityProcessor>, IEnumerable<EntityProcessor>, IEnumerable
| Name | Description | |
|---|---|---|
| Constructors | ||
| EntityProcessorCollection() | Initializes a new instance of the EntityProcessorCollection class. |
|
| EntityProcessorCollection(Int32) | Initializes a new instance of the EntityProcessorCollection class. |
|
| Methods | ||
| Get<T>() | Gets the first processor of the type T. |
|
Constructors
EntityProcessorCollection()
Initializes a new instance of the EntityProcessorCollection class.
public EntityProcessorCollection()
EntityProcessorCollection(Int32)
Initializes a new instance of the EntityProcessorCollection class.
public EntityProcessorCollection(int capacity)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | capacity | The capacity. |
Methods
Get<T>()
Gets the first processor of the type T.
public T Get<T>()
where T : EntityProcessor
Returns
| Type | Description |
|---|---|
| T | The first processor of type T or |
Type Parameters
| Name | Description |
|---|---|
| T | Type of the processor |