Interface IComponent<TProcessor, TThis>
- Namespace
- Stride.Engine.FlexibleProcessing
- Assembly
- Stride.Engine.dll
Defines a Processor/component or system/component relationship, EntityComponent implementing this interface
will be sent to the TProcessor
defined. Enabling component addition and removal tracking as well as batching operations over components.
public interface IComponent<TProcessor, TThis> : IMarkedComponent where TProcessor : IComponent<TProcessor, TThis>.IProcessor, new() where TThis : IComponent<TProcessor, TThis>
Type Parameters
TProcessor
The system which collects those components and iterates over them
TThis
The type name implementing this interface