Class LightShaftBoundingVolumeProcessor
- Namespace
- Stride.Engine.Processors
- Assembly
- Stride.Engine.dll
public class LightShaftBoundingVolumeProcessor : EntityProcessor<LightShaftBoundingVolumeComponent>
- Inheritance
-
LightShaftBoundingVolumeProcessor
- Inherited Members
Methods
GetBoundingVolumesForComponent(LightShaftComponent)
public IReadOnlyList<RenderLightShaftBoundingVolume> GetBoundingVolumesForComponent(LightShaftComponent component)
Parameters
component
LightShaftComponent
Returns
OnEntityComponentAdding(Entity, LightShaftBoundingVolumeComponent, LightShaftBoundingVolumeComponent)
Run when a matching entity is added to this entity processor.
protected override void OnEntityComponentAdding(Entity entity, LightShaftBoundingVolumeComponent component, LightShaftBoundingVolumeComponent data)
Parameters
entity
EntityThe entity.
component
LightShaftBoundingVolumeComponentdata
LightShaftBoundingVolumeComponentThe associated data.
OnEntityComponentRemoved(Entity, LightShaftBoundingVolumeComponent, LightShaftBoundingVolumeComponent)
Run when a matching entity is removed from this entity processor.
protected override void OnEntityComponentRemoved(Entity entity, LightShaftBoundingVolumeComponent component, LightShaftBoundingVolumeComponent data)
Parameters
entity
EntityThe entity.
component
LightShaftBoundingVolumeComponentdata
LightShaftBoundingVolumeComponentThe associated data.
Update(GameTime)
Performs work related to this processor.
public override void Update(GameTime time)
Parameters
time
GameTime