LightShaftProcessor Class
Namespace: Stride.Engine.ProcessorsAssembly: Stride.Engine.dll
System.Object → EntityProcessor → EntityProcessor<LightShaftComponent, LightShaftProcessor.AssociatedData> →
LightShaftProcessor
Derived from LightShaftProcessor:
public class LightShaftProcessor : EntityProcessor<LightShaftComponent, LightShaftProcessor.AssociatedData>, IEntityComponentRenderProcessor
Name | Description | |
---|---|---|
Properties | ||
VisibilityGroup | ||
Methods | ||
GenerateComponentData(Entity, LightShaftComponent) | Generates associated data to the given entity. |
|
IsAssociatedDataValid(Entity, LightShaftComponent, LightShaftProcessor.AssociatedData) | Checks if the current associated data is valid, or if readding the entity is required. |
|
OnSystemAdd() | ||
OnSystemRemove() | ||
Update(GameTime) | Performs work related to this processor. |
Properties
VisibilityGroup
public VisibilityGroup VisibilityGroup { get; set; }
Property Value
Type | Description |
---|---|
VisibilityGroup |
Methods
GenerateComponentData(Entity, LightShaftComponent)
Generates associated data to the given entity.
protected override LightShaftProcessor.AssociatedData GenerateComponentData(Entity entity, LightShaftComponent component)
Parameters
Type | Name | Description |
---|---|---|
Entity | entity | The entity. |
LightShaftComponent | component |
Returns
Type | Description |
---|---|
LightShaftProcessor.AssociatedData | The associated data. |
Overrides
Stride.Engine.EntityProcessor<Stride.Engine.LightShaftComponent, Stride.Engine.Processors.LightShaftProcessor.AssociatedData>.GenerateComponentData(Stride.Engine.Entity, Stride.Engine.LightShaftComponent)
IsAssociatedDataValid(Entity, LightShaftComponent, LightShaftProcessor.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
Type | Name | Description |
---|---|---|
Entity | entity | The entity. |
LightShaftComponent | component | |
LightShaftProcessor.AssociatedData | associatedData |
Returns
Type | Description |
---|---|
System.Boolean | True if the change in associated data requires the entity to be readded, false otherwise. |
Overrides
Stride.Engine.EntityProcessor<Stride.Engine.LightShaftComponent, Stride.Engine.Processors.LightShaftProcessor.AssociatedData>.IsAssociatedDataValid(Stride.Engine.Entity, Stride.Engine.LightShaftComponent, Stride.Engine.Processors.LightShaftProcessor.AssociatedData)
OnSystemAdd()
protected override void OnSystemAdd()
Overrides
Stride.Engine.EntityProcessor<Stride.Engine.LightShaftComponent, Stride.Engine.Processors.LightShaftProcessor.AssociatedData>.OnSystemAdd()
OnSystemRemove()
protected override void OnSystemRemove()
Overrides
Stride.Engine.EntityProcessor<Stride.Engine.LightShaftComponent, Stride.Engine.Processors.LightShaftProcessor.AssociatedData>.OnSystemRemove()
Update(GameTime)
Performs work related to this processor.
public override void Update(GameTime time)
Parameters
Type | Name | Description |
---|---|---|
GameTime | time |