Class BrushRenderer
- Namespace
- TaleWorlds.GauntletUI
- Assembly
- TaleWorlds.GauntletUI.dll
public class BrushRenderer
- Inheritance
-
BrushRenderer
- Inherited Members
Constructors
BrushRenderer()
public BrushRenderer()
Fields
UseLocalTimer
public bool UseLocalTimer
Field Value
Properties
Brush
public Brush Brush { get; set; }
Property Value
CurrentState
public string CurrentState { get; set; }
Property Value
CurrentStyle
public Style CurrentStyle { get; }
Property Value
ForcePixelPerfectPlacement
public bool ForcePixelPerfectPlacement { get; set; }
Property Value
Methods
CreateTextMaterial(TwoDimensionDrawContext)
public TextMaterial CreateTextMaterial(TwoDimensionDrawContext drawContext)
Parameters
drawContext
TwoDimensionDrawContext
Returns
IsUpdateNeeded()
public bool IsUpdateNeeded()
Returns
Render(TwoDimensionDrawContext, Vector2, Vector2, float, float, Vector2)
public void Render(TwoDimensionDrawContext drawContext, Vector2 targetPosition, Vector2 targetSize, float scale, float contextAlpha, Vector2 overlayOffset = default)
Parameters
drawContext
TwoDimensionDrawContexttargetPosition
Vector2targetSize
Vector2scale
floatcontextAlpha
floatoverlayOffset
Vector2
RestartAnimation()
public void RestartAnimation()
SetSeed(int)
public void SetSeed(int seed)
Parameters
seed
int
Update(float, float)
public void Update(float globalAnimTime, float dt)
Parameters
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).