Class CameraProcessor
- Namespace
- Stride.Engine.Processors
- Assembly
- Stride.Engine.dll
The processor for CameraComponent.
public class CameraProcessor : EntityProcessor<CameraComponent>
- Inheritance
-
CameraProcessor
- Inherited Members
Constructors
CameraProcessor()
Initializes a new instance of the CameraProcessor class.
public CameraProcessor()
Methods
Draw(RenderContext)
Performs work related to this processor.
public override void Draw(RenderContext context)
Parameters
context
RenderContext
OnEntityComponentRemoved(Entity, CameraComponent, CameraComponent)
Run when a matching entity is removed from this entity processor.
protected override void OnEntityComponentRemoved(Entity entity, CameraComponent component, CameraComponent data)
Parameters
entity
EntityThe entity.
component
CameraComponentdata
CameraComponentThe associated data.