Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    UIRenderProcessor Class

    Namespace: Stride.Rendering.UI
    Assembly: Stride.UI.dll

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

    System.Object → EntityProcessor → EntityProcessor<UIComponent, RenderUIElement> → UIRenderProcessor
    Derived from UIRenderProcessor:

    public class UIRenderProcessor : EntityProcessor<UIComponent, RenderUIElement>, IEntityComponentRenderProcessor
    Name Description
    Constructors
    UIRenderProcessor()

    Initializes a new instance of the UIRenderProcessor class.

    Properties
    UIRoots
    VisibilityGroup
    Methods
    Draw(RenderContext)
    GenerateComponentData(Entity, UIComponent)
    IsAssociatedDataValid(Entity, UIComponent, RenderUIElement)
    OnEntityComponentAdding(Entity, UIComponent, RenderUIElement)
    OnEntityComponentRemoved(Entity, UIComponent, RenderUIElement)
    | Improve this Doc View Source

    Constructors


    UIRenderProcessor()

    Initializes a new instance of the UIRenderProcessor class.

    public UIRenderProcessor()
    | Improve this Doc View Source

    Properties


    UIRoots

    public List<RenderUIElement> UIRoots { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<RenderUIElement>

    VisibilityGroup

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

    Methods


    Draw(RenderContext)

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

    GenerateComponentData(Entity, UIComponent)

    protected override RenderUIElement GenerateComponentData(Entity entity, UIComponent component)
    Parameters
    Type Name Description
    Entity entity
    UIComponent component
    Returns
    Type Description
    RenderUIElement
    Overrides
    Stride.Engine.EntityProcessor<Stride.Engine.UIComponent, Stride.Rendering.UI.RenderUIElement>.GenerateComponentData(Stride.Engine.Entity, Stride.Engine.UIComponent)

    IsAssociatedDataValid(Entity, UIComponent, RenderUIElement)

    protected override bool IsAssociatedDataValid(Entity entity, UIComponent component, RenderUIElement associatedData)
    Parameters
    Type Name Description
    Entity entity
    UIComponent component
    RenderUIElement associatedData
    Returns
    Type Description
    System.Boolean
    Overrides
    Stride.Engine.EntityProcessor<Stride.Engine.UIComponent, Stride.Rendering.UI.RenderUIElement>.IsAssociatedDataValid(Stride.Engine.Entity, Stride.Engine.UIComponent, Stride.Rendering.UI.RenderUIElement)

    OnEntityComponentAdding(Entity, UIComponent, RenderUIElement)

    protected override void OnEntityComponentAdding(Entity entity, UIComponent uiComponent, RenderUIElement renderUIElement)
    Parameters
    Type Name Description
    Entity entity
    UIComponent uiComponent
    RenderUIElement renderUIElement
    Overrides
    Stride.Engine.EntityProcessor<Stride.Engine.UIComponent, Stride.Rendering.UI.RenderUIElement>.OnEntityComponentAdding(Stride.Engine.Entity, Stride.Engine.UIComponent, Stride.Rendering.UI.RenderUIElement)

    OnEntityComponentRemoved(Entity, UIComponent, RenderUIElement)

    protected override void OnEntityComponentRemoved(Entity entity, UIComponent uiComponent, RenderUIElement renderUIElement)
    Parameters
    Type Name Description
    Entity entity
    UIComponent uiComponent
    RenderUIElement renderUIElement
    Overrides
    Stride.Engine.EntityProcessor<Stride.Engine.UIComponent, Stride.Rendering.UI.RenderUIElement>.OnEntityComponentRemoved(Stride.Engine.Entity, Stride.Engine.UIComponent, Stride.Rendering.UI.RenderUIElement)

    Inherited Members

    EntityProcessor<UIComponent, RenderUIElement>.ComponentDatas
    EntityProcessor<UIComponent, RenderUIElement>.OnSystemAdd()
    EntityProcessor<UIComponent, RenderUIElement>.OnSystemRemove()
    EntityProcessor<UIComponent, RenderUIElement>.RemoveAllEntities()
    EntityProcessor<UIComponent, RenderUIElement>.ProcessEntityComponent(Entity, EntityComponent, Boolean)
    EntityProcessor<UIComponent, RenderUIElement>.GenerateComponentData(Entity, UIComponent)
    EntityProcessor<UIComponent, RenderUIElement>.IsAssociatedDataValid(Entity, UIComponent, RenderUIElement)
    EntityProcessor<UIComponent, RenderUIElement>.OnEntityComponentAdding(Entity, UIComponent, RenderUIElement)
    EntityProcessor<UIComponent, RenderUIElement>.OnEntityComponentRemoved(Entity, UIComponent, RenderUIElement)
    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