|
My Project v1
Project
|

Public 成员函数 | |
| bool | IsKeyDown (Key key) |
| bool | IsKeyDownOnce (Key key) |
| bool | IsKeyDownRepeat (Key key) |
| void | EnterText (ContainerWidget parentWidget, string title, string text, int maxLength, Action< string > handler) |
| bool | IsMouseButtonDown (MouseButton button) |
| bool | IsMouseButtonDownOnce (MouseButton button) |
| Vector2 | GetPadStickPosition (GamePadStick stick, float deadZone=0f) |
| float | GetPadTriggerPosition (GamePadTrigger trigger, float deadZone=0f) |
| bool | IsPadButtonDown (GamePadButton button) |
| bool | IsPadButtonDownOnce (GamePadButton button) |
| bool | IsPadButtonDownRepeat (GamePadButton button) |
| Vector2 | GetVrStickPosition (VrController controller, float deadZone=0f) |
| Vector2? | GetVrTouchpadPosition (VrController controller, float deadZone=0f) |
| float | GetVrTriggerPosition (VrController controller, float deadZone=0f) |
| bool | IsVrButtonDown (VrController controller, VrControllerButton button) |
| bool | IsVrButtonDownOnce (VrController controller, VrControllerButton button) |
| WidgetInput (WidgetInputDevice devices=WidgetInputDevice.All) | |
| void | Clear () |
| void | Update () |
| void | Draw (Widget.DrawContext dc) |
| void | ClearInput () |
| void | UpdateInputFromKeyboard () |
| void | UpdateInputFromMouse () |
| void | UpdateInputFromGamepads () |
| void | UpdateInputFromTouch () |
Public 属性 | |
| bool | m_isCleared |
| Widget | m_widget |
| Vector2 | m_softMouseCursorPosition |
| Vector2? | m_mouseDownPoint |
| MouseButton | m_mouseDownButton |
| double | m_mouseDragTime |
| bool | m_mouseDragInProgress |
| bool | m_mouseHoldInProgress |
| bool | m_isMouseCursorVisible = true |
| bool | m_useSoftMouseCursor |
| int? | m_touchId |
| bool | m_touchCleared |
| Vector2 | m_touchStartPoint |
| double | m_touchStartTime |
| bool | m_touchDragInProgress |
| bool | m_touchHoldInProgress |
| Vector2 | m_padCursorPosition |
| Vector2? | m_padDownPoint |
| double | m_padDragTime |
| bool | m_padDragInProgress |
| bool | m_isPadCursorVisible = true |
| Vector2? | m_vrDownPoint |
| double | m_vrDragTime |
| bool | m_vrDragInProgress |
| bool | m_isVrCursorVisible = true |
属性 | |
| bool | Any [get, set] |
| bool | Ok [get, set] |
| bool | Cancel [get, set] |
| bool | Back [get, set] |
| bool | Left [get, set] |
| bool | Right [get, set] |
| bool | Up [get, set] |
| bool | Down [get, set] |
| Vector2? | Press [get, set] |
| Vector2? | Tap [get, set] |
| Segment2? | Click [get, set] |
| Segment2? | SpecialClick [get, set] |
| Vector2? | Drag [get, set] |
| DragMode | DragMode [get, set] |
| Vector2? | Hold [get, set] |
| float | HoldTime [get, set] |
| Vector3? | Scroll [get, set] |
| Key? | LastKey [get] |
| char? | LastChar [get] |
| bool | UseSoftMouseCursor [get, set] |
| bool | IsMouseCursorVisible [get, set] |
| Vector2? | MousePosition [get, set] |
| Point2 | MouseMovement [get] |
| int | MouseWheelMovement [get] |
| bool | IsPadCursorVisible [get, set] |
| Vector2 | PadCursorPosition [get, set] |
| ReadOnlyList< TouchLocation > | TouchLocations [get] |
| Matrix? | VrQuadMatrix [get, set] |
| bool | IsVrCursorVisible [get, set] |
| Vector2? | VrCursorPosition [get, set] |
| static WidgetInput | EmptyInput = new WidgetInput(WidgetInputDevice.None) [get] |
| Widget | Widget [get] |
| WidgetInputDevice | Devices [get, set] |
| Game.WidgetInput.WidgetInput | ( | WidgetInputDevice | devices = WidgetInputDevice::All | ) |
| void Game.WidgetInput.Clear | ( | ) |


| void Game.WidgetInput.ClearInput | ( | ) |

| void Game.WidgetInput.Draw | ( | Widget.DrawContext | dc | ) |


| void Game.WidgetInput.EnterText | ( | ContainerWidget | parentWidget, |
| string | title, | ||
| string | text, | ||
| int | maxLength, | ||
| Action< string > | handler ) |
| Vector2 Game.WidgetInput.GetPadStickPosition | ( | GamePadStick | stick, |
| float | deadZone = 0f ) |

| float Game.WidgetInput.GetPadTriggerPosition | ( | GamePadTrigger | trigger, |
| float | deadZone = 0f ) |

| Vector2 Game.WidgetInput.GetVrStickPosition | ( | VrController | controller, |
| float | deadZone = 0f ) |


| Vector2? Game.WidgetInput.GetVrTouchpadPosition | ( | VrController | controller, |
| float | deadZone = 0f ) |

| float Game.WidgetInput.GetVrTriggerPosition | ( | VrController | controller, |
| float | deadZone = 0f ) |

| bool Game.WidgetInput.IsKeyDown | ( | Key | key | ) |

| bool Game.WidgetInput.IsKeyDownOnce | ( | Key | key | ) |

| bool Game.WidgetInput.IsKeyDownRepeat | ( | Key | key | ) |

| bool Game.WidgetInput.IsMouseButtonDown | ( | MouseButton | button | ) |

| bool Game.WidgetInput.IsMouseButtonDownOnce | ( | MouseButton | button | ) |

| bool Game.WidgetInput.IsPadButtonDown | ( | GamePadButton | button | ) |

| bool Game.WidgetInput.IsPadButtonDownOnce | ( | GamePadButton | button | ) |

| bool Game.WidgetInput.IsPadButtonDownRepeat | ( | GamePadButton | button | ) |

| bool Game.WidgetInput.IsVrButtonDown | ( | VrController | controller, |
| VrControllerButton | button ) |

| bool Game.WidgetInput.IsVrButtonDownOnce | ( | VrController | controller, |
| VrControllerButton | button ) |


| void Game.WidgetInput.Update | ( | ) |


| void Game.WidgetInput.UpdateInputFromGamepads | ( | ) |


| void Game.WidgetInput.UpdateInputFromKeyboard | ( | ) |


| void Game.WidgetInput.UpdateInputFromMouse | ( | ) |


| void Game.WidgetInput.UpdateInputFromTouch | ( | ) |


| bool Game.WidgetInput.m_isCleared |
| bool Game.WidgetInput.m_isMouseCursorVisible = true |
| bool Game.WidgetInput.m_isPadCursorVisible = true |
| bool Game.WidgetInput.m_isVrCursorVisible = true |
| MouseButton Game.WidgetInput.m_mouseDownButton |
| Vector2? Game.WidgetInput.m_mouseDownPoint |
| bool Game.WidgetInput.m_mouseDragInProgress |
| double Game.WidgetInput.m_mouseDragTime |
| bool Game.WidgetInput.m_mouseHoldInProgress |
| Vector2 Game.WidgetInput.m_padCursorPosition |
| Vector2? Game.WidgetInput.m_padDownPoint |
| bool Game.WidgetInput.m_padDragInProgress |
| double Game.WidgetInput.m_padDragTime |
| Vector2 Game.WidgetInput.m_softMouseCursorPosition |
| bool Game.WidgetInput.m_touchCleared |
| bool Game.WidgetInput.m_touchDragInProgress |
| bool Game.WidgetInput.m_touchHoldInProgress |
| int? Game.WidgetInput.m_touchId |
| Vector2 Game.WidgetInput.m_touchStartPoint |
| double Game.WidgetInput.m_touchStartTime |
| bool Game.WidgetInput.m_useSoftMouseCursor |
| Vector2? Game.WidgetInput.m_vrDownPoint |
| bool Game.WidgetInput.m_vrDragInProgress |
| double Game.WidgetInput.m_vrDragTime |
| Widget Game.WidgetInput.m_widget |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
staticget |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
get |
|
get |
|
getset |
|
get |
|
getset |
|
get |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
get |
|
getset |
|
getset |
|
getset |
|
getset |
|
get |