Table of Contents

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

bool

Properties

Brush

public Brush Brush { get; set; }

Property Value

Brush

CurrentState

public string CurrentState { get; set; }

Property Value

string

CurrentStyle

public Style CurrentStyle { get; }

Property Value

Style

ForcePixelPerfectPlacement

public bool ForcePixelPerfectPlacement { get; set; }

Property Value

bool

Methods

CreateTextMaterial(TwoDimensionDrawContext)

public TextMaterial CreateTextMaterial(TwoDimensionDrawContext drawContext)

Parameters

drawContext TwoDimensionDrawContext

Returns

TextMaterial

IsUpdateNeeded()

public bool IsUpdateNeeded()

Returns

bool

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 TwoDimensionDrawContext
targetPosition Vector2
targetSize Vector2
scale float
contextAlpha float
overlayOffset 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

globalAnimTime float
dt float

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).