Table of Contents

Interface IUIElementUpdate

Namespace
Stride.UI
Assembly
Stride.UI.dll

Interface for the update of the UIElements.

public interface IUIElementUpdate

Methods

Update(GameTime)

Update the time-based state of the UIElement.

void Update(GameTime time)

Parameters

time GameTime

The current time of the game

UpdateElementState(int)

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

void UpdateElementState(int elementBias)

Parameters

elementBias int

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

UpdateWorldMatrix(ref Matrix, bool)

Recursively update the world matrix of the UIElement.

void UpdateWorldMatrix(ref Matrix parentWorldMatrix, bool parentWorldChanged)

Parameters

parentWorldMatrix Matrix

The world matrix of the parent.

parentWorldChanged bool

Boolean indicating if the world matrix provided by the parent changed