Class ScreenLayer
- Namespace
- TaleWorlds.ScreenSystem
- Assembly
- TaleWorlds.ScreenSystem.dll
public abstract class ScreenLayer : IComparable
- Inheritance
-
ScreenLayer
- Implements
- Derived
- Inherited Members
Constructors
ScreenLayer(int, string)
protected ScreenLayer(int localOrder, string categoryId)
Parameters
Fields
_categoryId
public readonly string _categoryId
Field Value
Properties
ActiveCursor
public CursorType ActiveCursor { get; set; }
Property Value
Finalized
public bool Finalized { get; }
Property Value
GamepadEnabled
public bool GamepadEnabled { get; protected set; }
Property Value
Input
public InputContext Input { get; }
Property Value
InputRestrictions
public InputRestrictions InputRestrictions { get; }
Property Value
InputUsageMask
public InputUsageMask InputUsageMask { get; }
Property Value
IsActive
public bool IsActive { get; }
Property Value
IsFocusLayer
public bool IsFocusLayer { get; set; }
Property Value
IsHitThisFrame
public bool IsHitThisFrame { get; }
Property Value
KeyboardEnabled
public bool KeyboardEnabled { get; protected set; }
Property Value
LastActiveState
public bool LastActiveState { get; set; }
Property Value
MouseEnabled
public bool MouseEnabled { get; protected set; }
Property Value
Name
public string Name { get; set; }
Property Value
Scale
public float Scale { get; }
Property Value
ScreenOrderInLastFrame
public int ScreenOrderInLastFrame { get; }
Property Value
UsableArea
public Vec2 UsableArea { get; }
Property Value
_isMousePressedByThisLayer
protected bool? _isMousePressedByThisLayer { get; set; }
Property Value
- bool?
_usedInputs
protected InputType _usedInputs { get; set; }
Property Value
Methods
CompareTo(object)
public int CompareTo(object obj)
Parameters
objobject
Returns
DrawDebugInfo()
public virtual void DrawDebugInfo()
EarlyProcessEvents(InputType, bool?)
public virtual void EarlyProcessEvents(InputType handledInputs, bool? isMousePressed)
Parameters
FocusTest()
public virtual bool FocusTest()
Returns
HitTest()
public virtual bool HitTest()
Returns
HitTest(Vector2)
public virtual bool HitTest(Vector2 position)
Parameters
positionVector2
Returns
IsFocusedOnInput()
public virtual bool IsFocusedOnInput()
Returns
LateProcessEvents()
public virtual void LateProcessEvents()
LateTick(float)
protected virtual void LateTick(float dt)
Parameters
dtfloat
OnActivate()
protected virtual void OnActivate()
OnDeactivate()
protected virtual void OnDeactivate()
OnFinalize()
protected virtual void OnFinalize()
OnLateUpdate(float)
protected virtual void OnLateUpdate(float dt)
Parameters
dtfloat
OnLoseFocus()
protected virtual void OnLoseFocus()
OnOnScreenKeyboardCanceled()
public virtual void OnOnScreenKeyboardCanceled()
OnOnScreenKeyboardDone(string)
public virtual void OnOnScreenKeyboardDone(string inputText)
Parameters
inputTextstring
ProcessEvents()
public virtual void ProcessEvents()
RefreshGlobalOrder(ref int)
protected virtual void RefreshGlobalOrder(ref int currentOrder)
Parameters
currentOrderint
Tick(float)
protected virtual void Tick(float dt)
Parameters
dtfloat
Update(IReadOnlyList<int>)
protected virtual void Update(IReadOnlyList<int> lastKeysPressed)
Parameters
lastKeysPressedIReadOnlyList<int>
UpdateLayout()
public virtual void UpdateLayout()
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).