Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    ParticleSystemRenderProcessor Class

    Namespace: Stride.Particles.Rendering
    Assembly: Stride.Particles.dll

    The processor in charge of updating and drawing the entities having sprite components.

    System.Object → EntityProcessor → EntityProcessor<ParticleSystemComponent, RenderParticleSystem> → ParticleSystemRenderProcessor
    Derived from ParticleSystemRenderProcessor:

    public class ParticleSystemRenderProcessor : EntityProcessor<ParticleSystemComponent, RenderParticleSystem>, IEntityComponentRenderProcessor
    Name Description
    Constructors
    ParticleSystemRenderProcessor()

    Initializes a new instance of the ParticleSystemRenderProcessor class.

    Properties
    VisibilityGroup
    Methods
    Draw(RenderContext)
    GenerateComponentData(Entity, ParticleSystemComponent)
    IsAssociatedDataValid(Entity, ParticleSystemComponent, RenderParticleSystem)
    OnEntityComponentAdding(Entity, ParticleSystemComponent, RenderParticleSystem)
    OnEntityComponentRemoved(Entity, ParticleSystemComponent, RenderParticleSystem)
    | Improve this Doc View Source

    Constructors


    ParticleSystemRenderProcessor()

    Initializes a new instance of the ParticleSystemRenderProcessor class.

    public ParticleSystemRenderProcessor()
    | Improve this Doc View Source

    Properties


    VisibilityGroup

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

    Methods


    Draw(RenderContext)

    public override void Draw(RenderContext context)
    Parameters
    Type Name Description
    RenderContext context
    Overrides
    EntityProcessor.Draw(RenderContext)

    GenerateComponentData(Entity, ParticleSystemComponent)

    protected override RenderParticleSystem GenerateComponentData(Entity entity, ParticleSystemComponent particleSystemComponent)
    Parameters
    Type Name Description
    Entity entity
    ParticleSystemComponent particleSystemComponent
    Returns
    Type Description
    RenderParticleSystem
    Overrides
    Stride.Engine.EntityProcessor<Stride.Particles.Components.ParticleSystemComponent, Stride.Particles.Rendering.RenderParticleSystem>.GenerateComponentData(Stride.Engine.Entity, Stride.Particles.Components.ParticleSystemComponent)

    IsAssociatedDataValid(Entity, ParticleSystemComponent, RenderParticleSystem)

    protected override bool IsAssociatedDataValid(Entity entity, ParticleSystemComponent spriteComponent, RenderParticleSystem associatedData)
    Parameters
    Type Name Description
    Entity entity
    ParticleSystemComponent spriteComponent
    RenderParticleSystem associatedData
    Returns
    Type Description
    System.Boolean
    Overrides
    Stride.Engine.EntityProcessor<Stride.Particles.Components.ParticleSystemComponent, Stride.Particles.Rendering.RenderParticleSystem>.IsAssociatedDataValid(Stride.Engine.Entity, Stride.Particles.Components.ParticleSystemComponent, Stride.Particles.Rendering.RenderParticleSystem)

    OnEntityComponentAdding(Entity, ParticleSystemComponent, RenderParticleSystem)

    protected override void OnEntityComponentAdding(Entity entity, ParticleSystemComponent particleSystemComponent, RenderParticleSystem renderParticleSystem)
    Parameters
    Type Name Description
    Entity entity
    ParticleSystemComponent particleSystemComponent
    RenderParticleSystem renderParticleSystem
    Overrides
    Stride.Engine.EntityProcessor<Stride.Particles.Components.ParticleSystemComponent, Stride.Particles.Rendering.RenderParticleSystem>.OnEntityComponentAdding(Stride.Engine.Entity, Stride.Particles.Components.ParticleSystemComponent, Stride.Particles.Rendering.RenderParticleSystem)

    OnEntityComponentRemoved(Entity, ParticleSystemComponent, RenderParticleSystem)

    protected override void OnEntityComponentRemoved(Entity entity, ParticleSystemComponent particleSystemComponent, RenderParticleSystem renderParticleSystem)
    Parameters
    Type Name Description
    Entity entity
    ParticleSystemComponent particleSystemComponent
    RenderParticleSystem renderParticleSystem
    Overrides
    Stride.Engine.EntityProcessor<Stride.Particles.Components.ParticleSystemComponent, Stride.Particles.Rendering.RenderParticleSystem>.OnEntityComponentRemoved(Stride.Engine.Entity, Stride.Particles.Components.ParticleSystemComponent, Stride.Particles.Rendering.RenderParticleSystem)

    Inherited Members

    EntityProcessor<ParticleSystemComponent, RenderParticleSystem>.ComponentDatas
    EntityProcessor<ParticleSystemComponent, RenderParticleSystem>.OnSystemAdd()
    EntityProcessor<ParticleSystemComponent, RenderParticleSystem>.OnSystemRemove()
    EntityProcessor<ParticleSystemComponent, RenderParticleSystem>.RemoveAllEntities()
    EntityProcessor<ParticleSystemComponent, RenderParticleSystem>.ProcessEntityComponent(Entity, EntityComponent, Boolean)
    EntityProcessor<ParticleSystemComponent, RenderParticleSystem>.GenerateComponentData(Entity, ParticleSystemComponent)
    EntityProcessor<ParticleSystemComponent, RenderParticleSystem>.IsAssociatedDataValid(Entity, ParticleSystemComponent, RenderParticleSystem)
    EntityProcessor<ParticleSystemComponent, RenderParticleSystem>.OnEntityComponentAdding(Entity, ParticleSystemComponent, RenderParticleSystem)
    EntityProcessor<ParticleSystemComponent, RenderParticleSystem>.OnEntityComponentRemoved(Entity, ParticleSystemComponent, RenderParticleSystem)
    EntityProcessor.Tags
    EntityProcessor.UpdateProfilingState
    EntityProcessor.DrawProfilingState
    EntityProcessor.Enabled
    EntityProcessor.MainComponentType
    EntityProcessor.RequiredTypes
    EntityProcessor.HasRequiredComponents
    EntityProcessor.Order
    EntityProcessor.EntityManager
    EntityProcessor.Services
    EntityProcessor.Update(GameTime)
    EntityProcessor.OnSystemAdd()
    EntityProcessor.OnSystemRemove()
    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