Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    LightShaftProcessor Class

    Namespace: Stride.Engine.Processors
    Assembly: 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.

    | Improve this Doc View Source

    Properties


    VisibilityGroup

    public VisibilityGroup VisibilityGroup { get; set; }
    Property Value
    Type Description
    VisibilityGroup
    | Improve this Doc View Source

    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
    Overrides
    EntityProcessor.Update(GameTime)

    Inherited Members

    EntityProcessor<LightShaftComponent, LightShaftProcessor.AssociatedData>.ComponentDatas
    EntityProcessor<LightShaftComponent, LightShaftProcessor.AssociatedData>.OnSystemAdd()
    EntityProcessor<LightShaftComponent, LightShaftProcessor.AssociatedData>.OnSystemRemove()
    EntityProcessor<LightShaftComponent, LightShaftProcessor.AssociatedData>.RemoveAllEntities()
    EntityProcessor<LightShaftComponent, LightShaftProcessor.AssociatedData>.ProcessEntityComponent(Entity, EntityComponent, Boolean)
    EntityProcessor<LightShaftComponent, LightShaftProcessor.AssociatedData>.GenerateComponentData(Entity, LightShaftComponent)
    EntityProcessor<LightShaftComponent, LightShaftProcessor.AssociatedData>.IsAssociatedDataValid(Entity, LightShaftComponent, LightShaftProcessor.AssociatedData)
    EntityProcessor<LightShaftComponent, LightShaftProcessor.AssociatedData>.OnEntityComponentAdding(Entity, LightShaftComponent, LightShaftProcessor.AssociatedData)
    EntityProcessor<LightShaftComponent, LightShaftProcessor.AssociatedData>.OnEntityComponentRemoved(Entity, LightShaftComponent, LightShaftProcessor.AssociatedData)
    EntityProcessor.Tags
    EntityProcessor.UpdateProfilingState
    EntityProcessor.DrawProfilingState
    EntityProcessor.Enabled
    EntityProcessor.MainComponentType
    EntityProcessor.RequiredTypes
    EntityProcessor.HasRequiredComponents
    EntityProcessor.Order
    EntityProcessor.EntityManager
    EntityProcessor.Services
    EntityProcessor.Draw(RenderContext)
    EntityProcessor.RemoveAllEntities()
    EntityProcessor.ProcessEntityComponent(Entity, EntityComponent, Boolean)
    EntityProcessor.InternalAddEntity(Entity)
    EntityProcessor.InternalRemoveEntity(Entity, Boolean)

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation