Table of Contents

Class LightShaftProcessor

Namespace
Stride.Engine.Processors
Assembly
Stride.Engine.dll
public class LightShaftProcessor : EntityProcessor<LightShaftComponent, LightShaftProcessor.AssociatedData>, IEntityComponentRenderProcessor
Inheritance
LightShaftProcessor
Implements
Inherited Members

Properties

VisibilityGroup

public VisibilityGroup VisibilityGroup { get; set; }

Property Value

VisibilityGroup

Methods

GenerateComponentData(Entity, LightShaftComponent)

Generates associated data to the given entity.

protected override LightShaftProcessor.AssociatedData GenerateComponentData(Entity entity, LightShaftComponent component)

Parameters

entity Entity

The entity.

component LightShaftComponent

Returns

LightShaftProcessor.AssociatedData

The associated data.

IsAssociatedDataValid(Entity, LightShaftComponent, AssociatedData)

Checks if the current associated data is valid, or if readding the entity is required.

protected override bool IsAssociatedDataValid(Entity entity, LightShaftComponent component, LightShaftProcessor.AssociatedData associatedData)

Parameters

entity Entity

The entity.

component LightShaftComponent
associatedData LightShaftProcessor.AssociatedData

The associated data.

Returns

bool

True if the change in associated data requires the entity to be readded, false otherwise.

OnSystemAdd()

Run when this EntityProcessor is added to an EntityManager.

protected override void OnSystemAdd()

OnSystemRemove()

Run when this EntityProcessor is removed from an EntityManager.

protected override void OnSystemRemove()

Update(GameTime)

Performs work related to this processor.

public override void Update(GameTime time)

Parameters

time GameTime