M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.TwoDimension.ITwoDimensionPlatform Interface Reference

Inherited by TaleWorlds.Engine.GauntletUI.TwoDimensionEnginePlatform.

Public Member Functions

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 ()
 

Properties

float Width [get]
 
float Height [get]
 
float ReferenceWidth [get]
 
float ReferenceHeight [get]
 
float ApplicationTime [get]
 

Member Function Documentation

◆ Draw()

void TaleWorlds.TwoDimension.ITwoDimensionPlatform.Draw ( float  x,
float  y,
Material  material,
DrawObject2D  drawObject2D,
int  layer 
)

◆ SetScissor()

void TaleWorlds.TwoDimension.ITwoDimensionPlatform.SetScissor ( ScissorTestInfo  scissorTestInfo)

◆ ResetScissor()

void TaleWorlds.TwoDimension.ITwoDimensionPlatform.ResetScissor ( )

◆ PlaySound()

void TaleWorlds.TwoDimension.ITwoDimensionPlatform.PlaySound ( string  soundName)

◆ CreateSoundEvent()

void TaleWorlds.TwoDimension.ITwoDimensionPlatform.CreateSoundEvent ( string  soundName)

◆ PlaySoundEvent()

void TaleWorlds.TwoDimension.ITwoDimensionPlatform.PlaySoundEvent ( string  soundName)

◆ StopAndRemoveSoundEvent()

void TaleWorlds.TwoDimension.ITwoDimensionPlatform.StopAndRemoveSoundEvent ( string  soundName)

◆ OpenOnScreenKeyboard()

void TaleWorlds.TwoDimension.ITwoDimensionPlatform.OpenOnScreenKeyboard ( string  initialText,
string  descriptionText,
int  maxLength,
int  keyboardTypeEnum 
)

◆ BeginDebugPanel()

void TaleWorlds.TwoDimension.ITwoDimensionPlatform.BeginDebugPanel ( string  panelTitle)

◆ EndDebugPanel()

void TaleWorlds.TwoDimension.ITwoDimensionPlatform.EndDebugPanel ( )

◆ DrawDebugText()

void TaleWorlds.TwoDimension.ITwoDimensionPlatform.DrawDebugText ( string  text)

◆ DrawDebugTreeNode()

bool TaleWorlds.TwoDimension.ITwoDimensionPlatform.DrawDebugTreeNode ( string  text)

◆ PopDebugTreeNode()

void TaleWorlds.TwoDimension.ITwoDimensionPlatform.PopDebugTreeNode ( )

◆ DrawCheckbox()

void TaleWorlds.TwoDimension.ITwoDimensionPlatform.DrawCheckbox ( string  label,
ref bool  isChecked 
)

◆ IsDebugItemHovered()

bool TaleWorlds.TwoDimension.ITwoDimensionPlatform.IsDebugItemHovered ( )

◆ IsDebugModeEnabled()

bool TaleWorlds.TwoDimension.ITwoDimensionPlatform.IsDebugModeEnabled ( )

Property Documentation

◆ Width

float TaleWorlds.TwoDimension.ITwoDimensionPlatform.Width
get

◆ Height

float TaleWorlds.TwoDimension.ITwoDimensionPlatform.Height
get

◆ ReferenceWidth

float TaleWorlds.TwoDimension.ITwoDimensionPlatform.ReferenceWidth
get

◆ ReferenceHeight

float TaleWorlds.TwoDimension.ITwoDimensionPlatform.ReferenceHeight
get

◆ ApplicationTime

float TaleWorlds.TwoDimension.ITwoDimensionPlatform.ApplicationTime
get