M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.GauntletUI.BrushRenderer Class Reference

Public Types

enum  BrushRendererAnimationState {
  None ,
  PlayingAnimation ,
  PlayingBasicTranisition ,
  Ended
}
 

Public Member Functions

 BrushRenderer ()
 
void Update (float globalAnimTime, float dt)
 
bool IsUpdateNeeded ()
 
void Render (TwoDimensionDrawContext drawContext, Vector2 targetPosition, Vector2 targetSize, float scale, float contextAlpha, Vector2 overlayOffset=default)
 
TextMaterial CreateTextMaterial (TwoDimensionDrawContext drawContext)
 
void RestartAnimation ()
 
void SetSeed (int seed)
 

Public Attributes

bool UseLocalTimer
 

Properties

bool ForcePixelPerfectPlacement = false [get, set]
 
Style CurrentStyle [get]
 
Brush Brush [get, set]
 
string CurrentState [get, set]
 

Member Enumeration Documentation

◆ BrushRendererAnimationState

Enumerator
None 
PlayingAnimation 
PlayingBasicTranisition 
Ended 

Constructor & Destructor Documentation

◆ BrushRenderer()

TaleWorlds.GauntletUI.BrushRenderer.BrushRenderer ( )

Member Function Documentation

◆ Update()

void TaleWorlds.GauntletUI.BrushRenderer.Update ( float  globalAnimTime,
float  dt 
)

◆ IsUpdateNeeded()

bool TaleWorlds.GauntletUI.BrushRenderer.IsUpdateNeeded ( )

◆ Render()

void TaleWorlds.GauntletUI.BrushRenderer.Render ( TwoDimensionDrawContext  drawContext,
Vector2  targetPosition,
Vector2  targetSize,
float  scale,
float  contextAlpha,
Vector2  overlayOffset = default 
)

◆ CreateTextMaterial()

TextMaterial TaleWorlds.GauntletUI.BrushRenderer.CreateTextMaterial ( TwoDimensionDrawContext  drawContext)

◆ RestartAnimation()

void TaleWorlds.GauntletUI.BrushRenderer.RestartAnimation ( )

◆ SetSeed()

void TaleWorlds.GauntletUI.BrushRenderer.SetSeed ( int  seed)

Member Data Documentation

◆ UseLocalTimer

bool TaleWorlds.GauntletUI.BrushRenderer.UseLocalTimer

Property Documentation

◆ ForcePixelPerfectPlacement

bool TaleWorlds.GauntletUI.BrushRenderer.ForcePixelPerfectPlacement = false
getset

◆ CurrentStyle

Style TaleWorlds.GauntletUI.BrushRenderer.CurrentStyle
get

◆ Brush

Brush TaleWorlds.GauntletUI.BrushRenderer.Brush
getset

◆ CurrentState

string TaleWorlds.GauntletUI.BrushRenderer.CurrentState
getset