IUIElementUpdate Interface
Namespace: Stride.UIAssembly: 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. |
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 |