Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    IUIElementUpdate Interface

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

    Interface for the update of the UIElements.

    public interface IUIElementUpdate
    Name Description
    Methods
    Update(GameTime)

    Update the time-based state of the UIElement.

    UpdateElementState(Int32)

    Recursively update the RenderOpacity, DepthBias and IsHierarchyEnabled state fields of the UIElement.

    UpdateWorldMatrix(ref Matrix, Boolean)

    Recursively update the world matrix of the UIElement.

    | Improve this Doc View Source

    Methods


    Update(GameTime)

    Update the time-based state of the UIElement.

    void Update(GameTime time)
    Parameters
    Type Name Description
    GameTime time

    The current time of the game


    UpdateElementState(Int32)

    Recursively update the RenderOpacity, DepthBias and IsHierarchyEnabled state fields of the UIElement.

    void UpdateElementState(int elementBias)
    Parameters
    Type Name Description
    System.Int32 elementBias

    The depth bias value for the current element computed by the parent


    UpdateWorldMatrix(ref Matrix, Boolean)

    Recursively update the world matrix of the UIElement.

    void UpdateWorldMatrix(ref Matrix parentWorldMatrix, bool parentWorldChanged)
    Parameters
    Type Name Description
    Matrix parentWorldMatrix

    The world matrix of the parent.

    System.Boolean parentWorldChanged

    Boolean indicating if the world matrix provided by the parent changed


    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