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

Inherits TaleWorlds.TwoDimension.ITwoDimensionPlatform.

Classes

struct  MaterialTuple
 

Public Member Functions

 TwoDimensionEnginePlatform (TwoDimensionView view)
 
void Reset ()
 
void Draw (float x, float y, Material material, DrawObject2D drawObject2D, int layer)
 
void SetScissor (ScissorTestInfo scissorTestInfo)
 
void ResetScissor ()
 
void PlaySound (string soundName)
 
void CreateSoundEvent (string soundName)
 
void PlaySoundEvent (string soundName)
 
void StopAndRemoveSoundEvent (string soundName)
 
void OpenOnScreenKeyboard (string initialText, string descriptionText, int maxLength, int keyboardTypeEnum)
 
void BeginDebugPanel (string panelTitle)
 
void EndDebugPanel ()
 
void DrawDebugText (string text)
 
bool DrawDebugTreeNode (string text)
 
void PopDebugTreeNode ()
 
void DrawCheckbox (string label, ref bool isChecked)
 
bool IsDebugItemHovered ()
 
bool IsDebugModeEnabled ()
 

Additional Inherited Members

- Properties inherited from TaleWorlds.TwoDimension.ITwoDimensionPlatform
float Width [get]
 
float Height [get]
 
float ReferenceWidth [get]
 
float ReferenceHeight [get]
 
float ApplicationTime [get]
 

Constructor & Destructor Documentation

◆ TwoDimensionEnginePlatform()

TaleWorlds.Engine.GauntletUI.TwoDimensionEnginePlatform.TwoDimensionEnginePlatform ( TwoDimensionView  view)

Member Function Documentation

◆ Reset()

void TaleWorlds.Engine.GauntletUI.TwoDimensionEnginePlatform.Reset ( )