Class InstanceProcessor
- Namespace
- Stride.Engine.Processors
- Assembly
- Stride.Engine.dll
public class InstanceProcessor : EntityProcessor<InstanceComponent>
- Inheritance
-
InstanceProcessor
- Inherited Members
Constructors
InstanceProcessor()
public InstanceProcessor()
Methods
OnEntityComponentAdding(Entity, InstanceComponent, InstanceComponent)
Run when a matching entity is added to this entity processor.
protected override void OnEntityComponentAdding(Entity entity, InstanceComponent component, InstanceComponent data)
Parameters
entity
EntityThe entity.
component
InstanceComponentdata
InstanceComponentThe associated data.
OnEntityComponentRemoved(Entity, InstanceComponent, InstanceComponent)
Run when a matching entity is removed from this entity processor.
protected override void OnEntityComponentRemoved(Entity entity, InstanceComponent component, InstanceComponent data)
Parameters
entity
EntityThe entity.
component
InstanceComponentdata
InstanceComponentThe associated data.