ParticleSystemRenderProcessor Class
Namespace: Stride.Particles.RenderingAssembly: 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) |
Constructors
ParticleSystemRenderProcessor()
Initializes a new instance of the ParticleSystemRenderProcessor class.
public ParticleSystemRenderProcessor()
Properties
VisibilityGroup
public VisibilityGroup VisibilityGroup { get; set; }
Property Value
Type | Description |
---|---|
VisibilityGroup |
Methods
Draw(RenderContext)
public override void Draw(RenderContext context)
Parameters
Type | Name | Description |
---|---|---|
RenderContext | context |
Overrides
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)