Class TextureWidget
- Namespace
- TaleWorlds.GauntletUI.BaseTypes
- Assembly
- TaleWorlds.GauntletUI.dll
public class TextureWidget : ImageWidget
- Inheritance
-
TextureWidget
- Derived
- Inherited Members
- Extension Methods
Constructors
TextureWidget(UIContext)
public TextureWidget(UIContext context)
Parameters
context
UIContext
Fields
_cachedQuad
protected DrawObject2D _cachedQuad
Field Value
_cachedQuadSize
protected Vector2 _cachedQuadSize
Field Value
_isRenderRequestedPreviousFrame
protected bool _isRenderRequestedPreviousFrame
Field Value
_isTargetSizeDirty
protected bool _isTargetSizeDirty
Field Value
_setForClearNextFrame
protected bool _setForClearNextFrame
Field Value
_typeCollector
protected static TypeCollector<TextureProvider> _typeCollector
Field Value
Properties
LoadingIconWidget
public Widget LoadingIconWidget { get; set; }
Property Value
Texture
public Texture Texture { get; protected set; }
Property Value
TextureProvider
public TextureProvider TextureProvider { get; }
Property Value
TextureProviderName
[Editor(false)]
public string TextureProviderName { get; set; }
Property Value
Methods
GetTextureProviderProperty(string)
protected object GetTextureProviderProperty(string propertyName)
Parameters
propertyName
string
Returns
OnDisconnectedFromRoot()
protected override void OnDisconnectedFromRoot()
OnRender(TwoDimensionContext, TwoDimensionDrawContext)
protected override void OnRender(TwoDimensionContext twoDimensionContext, TwoDimensionDrawContext drawContext)
Parameters
twoDimensionContext
TwoDimensionContextdrawContext
TwoDimensionDrawContext
OnTextureUpdated()
protected virtual void OnTextureUpdated()
OnUpdate(float)
protected override void OnUpdate(float dt)
Parameters
dt
float
SetTextureProviderProperty(string, object)
protected void SetTextureProviderProperty(string name, object value)
Parameters
UpdateTextureWidget()
protected void UpdateTextureWidget()
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).