VirtualInputManager
An internal service that offers no functionality to developers.
This class is a service. It is a singleton that may be acquired with GetService.
Memory category | Instances |
---|
Member index 26
Removed member index 1
History | Member | |
---|---|---|
491 | SetViewportSize(sizePx: Vector2): void |
Description
VirtualInputManager is an internal service used by Roblox to record inputs and play them back during performance benchmarking tests.
History 88
- 573 Change ReturnType of sendThemeChangeEvent from void to null
- 573 Change ReturnType of sendRobloxEvent from void to null
- 573 Change ReturnType of WaitForInputEventsProcessed from void to null
- 573 Change ReturnType of StopRecording from void to null
- 573 Change ReturnType of StopPlaying from void to null
- 573 Change ReturnType of StartRecording from void to null
- 573 Change ReturnType of StartPlayingJSON from void to null
- 573 Change ReturnType of StartPlaying from void to null
- 573 Change ReturnType of SetInputTypesToIgnore from void to null
- 573 Change ReturnType of SendTouchEvent from void to null
- 573 Change ReturnType of SendTextInputCharacterEvent from void to null
- 573 Change ReturnType of SendMouseWheelEvent from void to null
- 573 Change ReturnType of SendMouseMoveEvent from void to null
- 573 Change ReturnType of SendMouseButtonEvent from void to null
- 573 Change ReturnType of SendKeyEvent from void to null
- 573 Change ReturnType of SendGyroscopeEvent from void to null
- 573 Change ReturnType of SendGravityEvent from void to null
- 573 Change ReturnType of SendAccelerometerEvent from void to null
- 573 Change ReturnType of HandleGamepadDisconnect from void to null
- 573 Change ReturnType of HandleGamepadConnect from void to null
- 573 Change ReturnType of HandleGamepadButtonInput from void to null
- 573 Change ReturnType of HandleGamepadAxisInput from void to null
- 573 Change ReturnType of Dump from void to null
- 499 Add WaitForInputEventsProcessed
- 491 Remove SetViewportSize
- 486 Change ThreadSafety of from ReadOnly to ReadSafe
- 479 Add StopPlaying
- 479 Add StartPlayingJSON
- 479 Add SetViewportSize
- 479 Add SetInputTypesToIgnore
- 469 Change Tags of from [NotReplicated] to [Hidden, NotReplicated]
- 469 Change CanLoad of from true to false
- 462 Change ThreadSafety of RecordingCompleted from to Unsafe
- 462 Change ThreadSafety of PlaybackCompleted from to Unsafe
- 462 Change ThreadSafety of sendThemeChangeEvent from to Unsafe
- 462 Change ThreadSafety of sendRobloxEvent from to Unsafe
- 462 Change ThreadSafety of StopRecording from to Unsafe
- 462 Change ThreadSafety of StartRecording from to Unsafe
- 462 Change ThreadSafety of StartPlaying from to Unsafe
- 462 Change ThreadSafety of SendTouchEvent from to Unsafe
- 462 Change ThreadSafety of SendTextInputCharacterEvent from to Unsafe
- 462 Change ThreadSafety of SendMouseWheelEvent from to Unsafe
- 462 Change ThreadSafety of SendMouseMoveEvent from to Unsafe
- 462 Change ThreadSafety of SendMouseButtonEvent from to Unsafe
- 462 Change ThreadSafety of SendKeyEvent from to Unsafe
- 462 Change ThreadSafety of SendGyroscopeEvent from to Unsafe
- 462 Change ThreadSafety of SendGravityEvent from to Unsafe
- 462 Change ThreadSafety of SendAccelerometerEvent from to Unsafe
- 462 Change ThreadSafety of HandleGamepadDisconnect from to Unsafe
- 462 Change ThreadSafety of HandleGamepadConnect from to Unsafe
- 462 Change ThreadSafety of HandleGamepadButtonInput from to Unsafe
- 462 Change ThreadSafety of HandleGamepadAxisInput from to Unsafe
- 462 Change ThreadSafety of Dump from to Unsafe
- 462 Change ThreadSafety of from to ReadOnly
- 454 Change Parameters of SendTextInputCharacterEvent from (str: string, pluginGui: Instance) to (str: string, layerCollector: Instance)
- 454 Change Parameters of SendMouseWheelEvent from (x: float, y: float, isForwardScroll: bool, pluginGui: Instance) to (x: float, y: float, isForwardScroll: bool, layerCollector: Instance)
- 454 Change Parameters of SendMouseMoveEvent from (x: float, y: float, pluginGui: Instance) to (x: float, y: float, layerCollector: Instance)
- 454 Change Parameters of SendMouseButtonEvent from (x: int, y: int, mouseButton: int, isDown: bool, pluginGui: Instance, repeatCount: int) to (x: int, y: int, mouseButton: int, isDown: bool, layerCollector: Instance, repeatCount: int)
- 454 Change Parameters of SendKeyEvent from (isPressed: bool, keyCode: KeyCode, isRepeatedKey: bool, pluginGui: Instance) to (isPressed: bool, keyCode: KeyCode, isRepeatedKey: bool, layerCollector: Instance)
- 438 Add sendThemeChangeEvent
- 423 Change Parameters of SendMouseButtonEvent from (x: int, y: int, mouseButton: int, isDown: bool, pluginGui: Instance) to (x: int, y: int, mouseButton: int, isDown: bool, pluginGui: Instance, repeatCount: int)
- 355 Add sendRobloxEvent
- 355 Change Parameters of SendTextInputCharacterEvent from (str: string) to (str: string, pluginGui: Instance)
- 355 Change Parameters of SendMouseWheelEvent from (x: float, y: float, isForwardScroll: bool) to (x: float, y: float, isForwardScroll: bool, pluginGui: Instance)
- 355 Change Parameters of SendMouseMoveEvent from (x: float, y: float) to (x: float, y: float, pluginGui: Instance)
- 355 Change Parameters of SendMouseButtonEvent from (x: int, y: int, mouseButton: int, isDown: bool) to (x: int, y: int, mouseButton: int, isDown: bool, pluginGui: Instance)
- 355 Change Parameters of SendKeyEvent from (isPressed: bool, keyCode: KeyCode, isRepeatedKey: bool) to (isPressed: bool, keyCode: KeyCode, isRepeatedKey: bool, pluginGui: Instance)
- 348 Add SendTouchEvent
- 348 Add SendTextInputCharacterEvent
- 348 Add SendMouseWheelEvent
- 348 Add SendMouseMoveEvent
- 348 Add SendMouseButtonEvent
- 348 Add SendKeyEvent
- 348 Add SendGyroscopeEvent
- 348 Add SendGravityEvent
- 348 Add SendAccelerometerEvent
- 348 Add HandleGamepadDisconnect
- 348 Add HandleGamepadConnect
- 348 Add HandleGamepadButtonInput
- 348 Add HandleGamepadAxisInput
- 322 Add RecordingCompleted
- 322 Add PlaybackCompleted
- 322 Add StopRecording
- 322 Add StartRecording
- 322 Add StartPlaying
- 322 Add Dump
- 322 Add
- 322 Add VirtualInputManager
Members 26
Dump
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
HandleGamepadAxisInput
Parameters (5) | ||
---|---|---|
objectId | int | |
keyCode | KeyCode | |
x | float | |
y | float | |
z | float | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 3
- 573 Change ReturnType of HandleGamepadAxisInput from void to null
- 462 Change ThreadSafety of HandleGamepadAxisInput from to Unsafe
- 348 Add HandleGamepadAxisInput
HandleGamepadButtonInput
Parameters (3) | ||
---|---|---|
deviceId | int | |
keyCode | KeyCode | |
buttonState | int | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 3
- 573 Change ReturnType of HandleGamepadButtonInput from void to null
- 462 Change ThreadSafety of HandleGamepadButtonInput from to Unsafe
- 348 Add HandleGamepadButtonInput
HandleGamepadConnect
Parameters (1) | ||
---|---|---|
deviceId | int | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 3
- 573 Change ReturnType of HandleGamepadConnect from void to null
- 462 Change ThreadSafety of HandleGamepadConnect from to Unsafe
- 348 Add HandleGamepadConnect
HandleGamepadDisconnect
Parameters (1) | ||
---|---|---|
deviceId | int | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 3
- 573 Change ReturnType of HandleGamepadDisconnect from void to null
- 462 Change ThreadSafety of HandleGamepadDisconnect from to Unsafe
- 348 Add HandleGamepadDisconnect
PlaybackCompleted
Parameters (1) | |
---|---|
additionalLuaState | string |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 462 Change ThreadSafety of PlaybackCompleted from to Unsafe
- 322 Add PlaybackCompleted
RecordingCompleted
Parameters (1) | |
---|---|
result | string |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 462 Change ThreadSafety of RecordingCompleted from to Unsafe
- 322 Add RecordingCompleted
SendAccelerometerEvent
Parameters (3) | ||
---|---|---|
x | float | |
y | float | |
z | float | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 3
- 573 Change ReturnType of SendAccelerometerEvent from void to null
- 462 Change ThreadSafety of SendAccelerometerEvent from to Unsafe
- 348 Add SendAccelerometerEvent
SendGravityEvent
Parameters (3) | ||
---|---|---|
x | float | |
y | float | |
z | float | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 3
- 573 Change ReturnType of SendGravityEvent from void to null
- 462 Change ThreadSafety of SendGravityEvent from to Unsafe
- 348 Add SendGravityEvent
SendGyroscopeEvent
Parameters (4) | ||
---|---|---|
quatX | float | |
quatY | float | |
quatZ | float | |
quatW | float | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 3
- 573 Change ReturnType of SendGyroscopeEvent from void to null
- 462 Change ThreadSafety of SendGyroscopeEvent from to Unsafe
- 348 Add SendGyroscopeEvent
SendKeyEvent
Parameters (4) | ||
---|---|---|
isPressed | bool | |
keyCode | KeyCode | |
isRepeatedKey | bool | |
layerCollector | Instance | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 5
- 573 Change ReturnType of SendKeyEvent from void to null
- 462 Change ThreadSafety of SendKeyEvent from to Unsafe
- 454 Change Parameters of SendKeyEvent from (isPressed: bool, keyCode: KeyCode, isRepeatedKey: bool, pluginGui: Instance) to (isPressed: bool, keyCode: KeyCode, isRepeatedKey: bool, layerCollector: Instance)
- 355 Change Parameters of SendKeyEvent from (isPressed: bool, keyCode: KeyCode, isRepeatedKey: bool) to (isPressed: bool, keyCode: KeyCode, isRepeatedKey: bool, pluginGui: Instance)
- 348 Add SendKeyEvent
SendMouseButtonEvent
Parameters (6) | ||
---|---|---|
x | int | |
y | int | |
mouseButton | int | |
isDown | bool | |
layerCollector | Instance | |
repeatCount | int | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 6
- 573 Change ReturnType of SendMouseButtonEvent from void to null
- 462 Change ThreadSafety of SendMouseButtonEvent from to Unsafe
- 454 Change Parameters of SendMouseButtonEvent from (x: int, y: int, mouseButton: int, isDown: bool, pluginGui: Instance, repeatCount: int) to (x: int, y: int, mouseButton: int, isDown: bool, layerCollector: Instance, repeatCount: int)
- 423 Change Parameters of SendMouseButtonEvent from (x: int, y: int, mouseButton: int, isDown: bool, pluginGui: Instance) to (x: int, y: int, mouseButton: int, isDown: bool, pluginGui: Instance, repeatCount: int)
- 355 Change Parameters of SendMouseButtonEvent from (x: int, y: int, mouseButton: int, isDown: bool) to (x: int, y: int, mouseButton: int, isDown: bool, pluginGui: Instance)
- 348 Add SendMouseButtonEvent
SendMouseMoveEvent
Parameters (3) | ||
---|---|---|
x | float | |
y | float | |
layerCollector | Instance | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 5
- 573 Change ReturnType of SendMouseMoveEvent from void to null
- 462 Change ThreadSafety of SendMouseMoveEvent from to Unsafe
- 454 Change Parameters of SendMouseMoveEvent from (x: float, y: float, pluginGui: Instance) to (x: float, y: float, layerCollector: Instance)
- 355 Change Parameters of SendMouseMoveEvent from (x: float, y: float) to (x: float, y: float, pluginGui: Instance)
- 348 Add SendMouseMoveEvent
SendMouseWheelEvent
Parameters (4) | ||
---|---|---|
x | float | |
y | float | |
isForwardScroll | bool | |
layerCollector | Instance | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 5
- 573 Change ReturnType of SendMouseWheelEvent from void to null
- 462 Change ThreadSafety of SendMouseWheelEvent from to Unsafe
- 454 Change Parameters of SendMouseWheelEvent from (x: float, y: float, isForwardScroll: bool, pluginGui: Instance) to (x: float, y: float, isForwardScroll: bool, layerCollector: Instance)
- 355 Change Parameters of SendMouseWheelEvent from (x: float, y: float, isForwardScroll: bool) to (x: float, y: float, isForwardScroll: bool, pluginGui: Instance)
- 348 Add SendMouseWheelEvent
SendTextInputCharacterEvent
Parameters (2) | ||
---|---|---|
str | string | |
layerCollector | Instance | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 5
- 573 Change ReturnType of SendTextInputCharacterEvent from void to null
- 462 Change ThreadSafety of SendTextInputCharacterEvent from to Unsafe
- 454 Change Parameters of SendTextInputCharacterEvent from (str: string, pluginGui: Instance) to (str: string, layerCollector: Instance)
- 355 Change Parameters of SendTextInputCharacterEvent from (str: string) to (str: string, pluginGui: Instance)
- 348 Add SendTextInputCharacterEvent
SendTouchEvent
Parameters (4) | ||
---|---|---|
touchId | int64 | |
state | int | |
x | float | |
y | float | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 3
- 573 Change ReturnType of SendTouchEvent from void to null
- 462 Change ThreadSafety of SendTouchEvent from to Unsafe
- 348 Add SendTouchEvent
SetInputTypesToIgnore
Parameters (1) | ||
---|---|---|
inputTypesToIgnore | Variant | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 573 Change ReturnType of SetInputTypesToIgnore from void to null
- 479 Add SetInputTypesToIgnore
StartPlaying
Parameters (1) | ||
---|---|---|
fileName | string | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 3
- 573 Change ReturnType of StartPlaying from void to null
- 462 Change ThreadSafety of StartPlaying from to Unsafe
- 322 Add StartPlaying
StartPlayingJSON
Parameters (1) | ||
---|---|---|
string | string | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 573 Change ReturnType of StartPlayingJSON from void to null
- 479 Add StartPlayingJSON
StartRecording
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 3
- 573 Change ReturnType of StartRecording from void to null
- 462 Change ThreadSafety of StartRecording from to Unsafe
- 322 Add StartRecording
StopPlaying
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 573 Change ReturnType of StopPlaying from void to null
- 479 Add StopPlaying
StopRecording
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 3
- 573 Change ReturnType of StopRecording from void to null
- 462 Change ThreadSafety of StopRecording from to Unsafe
- 322 Add StopRecording
WaitForInputEventsProcessed
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
null |
This function yields. It will block the calling thread until completion.
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 573 Change ReturnType of WaitForInputEventsProcessed from void to null
- 499 Add WaitForInputEventsProcessed
sendRobloxEvent
Parameters (3) | ||
---|---|---|
namespace | string | |
detail | string | |
detailType | string | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 3
- 573 Change ReturnType of sendRobloxEvent from void to null
- 462 Change ThreadSafety of sendRobloxEvent from to Unsafe
- 355 Add sendRobloxEvent
sendThemeChangeEvent
Parameters (1) | ||
---|---|---|
themeName | string | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 3
- 573 Change ReturnType of sendThemeChangeEvent from void to null
- 462 Change ThreadSafety of sendThemeChangeEvent from to Unsafe
- 438 Add sendThemeChangeEvent
Removed members 1
SetViewportSize
Parameters (1) | ||
---|---|---|
sizePx | Vector2 | |
Returns (1) | ||
void |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 2
- 491 Remove SetViewportSize
- 479 Add SetViewportSize