M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
|
Public Member Functions | |
TwoDimensionContext (ITwoDimensionPlatform platform, ITwoDimensionResourceContext resourceContext, ResourceDepot resourceDepot) | |
void | PlaySound (string soundName) |
void | CreateSoundEvent (string soundName) |
void | StopAndRemoveSoundEvent (string soundName) |
void | PlaySoundEvent (string soundName) |
void | Draw (float x, float y, Material material, DrawObject2D drawObject2D, int layer=0) |
void | Draw (Text text, TextMaterial material, float x, float y, float width, float height) |
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 () |
Texture | LoadTexture (string name) |
void | SetCircualMask (Vector2 position, float radius, float smoothingRadius) |
void | ClearCircualMask () |
void | DrawSprite (Sprite sprite, SimpleMaterial material, float x, float y, float scale, float width, float height, bool horizontalFlip, bool verticalFlip) |
void | SetScissor (int x, int y, int width, int height) |
void | SetScissor (ScissorTestInfo scissor) |
void | ResetScissor () |
void | PushScissor (int x, int y, int width, int height) |
void | PopScissor () |
Properties | |
float | Width [get] |
float | Height [get] |
ITwoDimensionPlatform | Platform [get] |
ITwoDimensionResourceContext | ResourceContext [get] |
ResourceDepot | ResourceDepot [get] |
bool | ScissorTestEnabled [get] |
bool | CircularMaskEnabled [get] |
Vector2 | CircularMaskCenter [get] |
float | CircularMaskRadius [get] |
float | CircularMaskSmoothingRadius [get] |
ScissorTestInfo | CurrentScissor [get] |
bool | IsDebugModeEnabled [get] |
TaleWorlds.TwoDimension.TwoDimensionContext.TwoDimensionContext | ( | ITwoDimensionPlatform | platform, |
ITwoDimensionResourceContext | resourceContext, | ||
ResourceDepot | resourceDepot | ||
) |
void TaleWorlds.TwoDimension.TwoDimensionContext.PlaySound | ( | string | soundName | ) |
void TaleWorlds.TwoDimension.TwoDimensionContext.CreateSoundEvent | ( | string | soundName | ) |
void TaleWorlds.TwoDimension.TwoDimensionContext.StopAndRemoveSoundEvent | ( | string | soundName | ) |
void TaleWorlds.TwoDimension.TwoDimensionContext.PlaySoundEvent | ( | string | soundName | ) |
void TaleWorlds.TwoDimension.TwoDimensionContext.Draw | ( | float | x, |
float | y, | ||
Material | material, | ||
DrawObject2D | drawObject2D, | ||
int | layer = 0 |
||
) |
void TaleWorlds.TwoDimension.TwoDimensionContext.Draw | ( | Text | text, |
TextMaterial | material, | ||
float | x, | ||
float | y, | ||
float | width, | ||
float | height | ||
) |
void TaleWorlds.TwoDimension.TwoDimensionContext.BeginDebugPanel | ( | string | panelTitle | ) |
void TaleWorlds.TwoDimension.TwoDimensionContext.EndDebugPanel | ( | ) |
void TaleWorlds.TwoDimension.TwoDimensionContext.DrawDebugText | ( | string | text | ) |
bool TaleWorlds.TwoDimension.TwoDimensionContext.DrawDebugTreeNode | ( | string | text | ) |
void TaleWorlds.TwoDimension.TwoDimensionContext.PopDebugTreeNode | ( | ) |
void TaleWorlds.TwoDimension.TwoDimensionContext.DrawCheckbox | ( | string | label, |
ref bool | isChecked | ||
) |
bool TaleWorlds.TwoDimension.TwoDimensionContext.IsDebugItemHovered | ( | ) |
Texture TaleWorlds.TwoDimension.TwoDimensionContext.LoadTexture | ( | string | name | ) |
void TaleWorlds.TwoDimension.TwoDimensionContext.SetCircualMask | ( | Vector2 | position, |
float | radius, | ||
float | smoothingRadius | ||
) |
void TaleWorlds.TwoDimension.TwoDimensionContext.ClearCircualMask | ( | ) |
void TaleWorlds.TwoDimension.TwoDimensionContext.DrawSprite | ( | Sprite | sprite, |
SimpleMaterial | material, | ||
float | x, | ||
float | y, | ||
float | scale, | ||
float | width, | ||
float | height, | ||
bool | horizontalFlip, | ||
bool | verticalFlip | ||
) |
void TaleWorlds.TwoDimension.TwoDimensionContext.SetScissor | ( | int | x, |
int | y, | ||
int | width, | ||
int | height | ||
) |
void TaleWorlds.TwoDimension.TwoDimensionContext.SetScissor | ( | ScissorTestInfo | scissor | ) |
void TaleWorlds.TwoDimension.TwoDimensionContext.ResetScissor | ( | ) |
void TaleWorlds.TwoDimension.TwoDimensionContext.PushScissor | ( | int | x, |
int | y, | ||
int | width, | ||
int | height | ||
) |
void TaleWorlds.TwoDimension.TwoDimensionContext.PopScissor | ( | ) |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |