Table of Contents

Interface ITwoDimensionPlatform

Namespace
TaleWorlds.TwoDimension
Assembly
TaleWorlds.TwoDimension.dll
public interface ITwoDimensionPlatform

Properties

ApplicationTime

float ApplicationTime { get; }

Property Value

float

Height

float Height { get; }

Property Value

float

ReferenceHeight

float ReferenceHeight { get; }

Property Value

float

ReferenceWidth

float ReferenceWidth { get; }

Property Value

float

Width

float Width { get; }

Property Value

float

Methods

BeginDebugPanel(string)

void BeginDebugPanel(string panelTitle)

Parameters

panelTitle string

CreateSoundEvent(string)

void CreateSoundEvent(string soundName)

Parameters

soundName string

Draw(float, float, Material, DrawObject2D, int)

void Draw(float x, float y, Material material, DrawObject2D drawObject2D, int layer)

Parameters

x float
y float
material Material
drawObject2D DrawObject2D
layer int

DrawCheckbox(string, ref bool)

void DrawCheckbox(string label, ref bool isChecked)

Parameters

label string
isChecked bool

DrawDebugText(string)

void DrawDebugText(string text)

Parameters

text string

DrawDebugTreeNode(string)

bool DrawDebugTreeNode(string text)

Parameters

text string

Returns

bool

EndDebugPanel()

void EndDebugPanel()

IsDebugItemHovered()

bool IsDebugItemHovered()

Returns

bool

IsDebugModeEnabled()

bool IsDebugModeEnabled()

Returns

bool

OpenOnScreenKeyboard(string, string, int, int)

void OpenOnScreenKeyboard(string initialText, string descriptionText, int maxLength, int keyboardTypeEnum)

Parameters

initialText string
descriptionText string
maxLength int
keyboardTypeEnum int

PlaySound(string)

void PlaySound(string soundName)

Parameters

soundName string

PlaySoundEvent(string)

void PlaySoundEvent(string soundName)

Parameters

soundName string

PopDebugTreeNode()

void PopDebugTreeNode()

ResetScissor()

void ResetScissor()

SetScissor(ScissorTestInfo)

void SetScissor(ScissorTestInfo scissorTestInfo)

Parameters

scissorTestInfo ScissorTestInfo

StopAndRemoveSoundEvent(string)

void StopAndRemoveSoundEvent(string soundName)

Parameters

soundName string

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