Class EventManager
- Namespace
- TaleWorlds.GauntletUI
- Assembly
- TaleWorlds.GauntletUI.dll
public class EventManager
- Inheritance
-
EventManager
- Inherited Members
Fields
MinParallelUpdateCount
public const int MinParallelUpdateCount = 64
Field Value
OnGetIsHitThisFrame
public Func<bool> OnGetIsHitThisFrame
Field Value
Properties
Context
public UIContext Context { get; }
Property Value
DeltaMouseScroll
public float DeltaMouseScroll { get; }
Property Value
DragHoveredView
public Widget DragHoveredView { get; }
Property Value
DraggedWidget
public Widget DraggedWidget { get; }
Property Value
DraggedWidgetPosition
public Vector2 DraggedWidgetPosition { get; }
Property Value
FocusedWidget
public Widget FocusedWidget { get; }
Property Value
HoveredView
public Widget HoveredView { get; }
Property Value
InputContext
public IInputContext InputContext { get; }
Property Value
InputService
public IInputService InputService { get; }
Property Value
IsControllerActive
public bool IsControllerActive { get; }
Property Value
LatestMouseAlternateDownWidget
public Widget LatestMouseAlternateDownWidget { get; }
Property Value
LatestMouseAlternateUpWidget
public Widget LatestMouseAlternateUpWidget { get; }
Property Value
LatestMouseDownWidget
public Widget LatestMouseDownWidget { get; }
Property Value
LatestMouseUpWidget
public Widget LatestMouseUpWidget { get; }
Property Value
LeftUsableAreaStart
public float LeftUsableAreaStart { get; }
Property Value
MouseOveredViews
public List<Widget> MouseOveredViews { get; }
Property Value
MousePosition
public Vector2 MousePosition { get; }
Property Value
MousePositionInReferenceResolution
public Vector2 MousePositionInReferenceResolution { get; }
Property Value
PageSize
public Vector2 PageSize { get; }
Property Value
RightStickHorizontalScrollAmount
public float RightStickHorizontalScrollAmount { get; }
Property Value
RightStickVerticalScrollAmount
public float RightStickVerticalScrollAmount { get; }
Property Value
Root
public Widget Root { get; }
Property Value
Time
public float Time { get; }
Property Value
TopUsableAreaStart
public float TopUsableAreaStart { get; }
Property Value
UIEventManager
public static EventManager UIEventManager { get; }
Property Value
UsableArea
public Vec2 UsableArea { get; set; }
Property Value
Methods
AddAfterFinalizedCallback(Action)
public void AddAfterFinalizedCallback(Action callback)
Parameters
callback
Action
AddLateUpdateAction(Widget, Action<float>, int)
public void AddLateUpdateAction(Widget owner, Action<float> action, int order)
Parameters
ClearFocus()
public void ClearFocus()
FocusTest(Widget)
public bool FocusTest(Widget root)
Parameters
root
Widget
Returns
GetIsHitThisFrame()
public bool GetIsHitThisFrame()
Returns
HitTest(Widget, Vector2)
public static bool HitTest(Widget widget, Vector2 position)
Parameters
Returns
SetHoveredView(Widget)
public void SetHoveredView(Widget view)
Parameters
view
Widget
SetWidgetFocused(Widget, bool)
public void SetWidgetFocused(Widget widget, bool fromClick = false)
Parameters
UpdateLayout()
public void UpdateLayout()
Events
GainFocus
public event Action GainFocus
Event Type
LoseFocus
public event Action LoseFocus
Event Type
OnDragEnded
public event Action OnDragEnded
Event Type
OnDragStarted
public event Action OnDragStarted
Event Type
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).