Roblox API Reference

VirtualInputManager On DevHub

Summary

This class is a service. It is a singleton that may be acquired with GetService.

Tags: [Service]

Inherits (1)

Member index (26)

Type Member History
string AdditionalLuaState 469 469
void Dump ()
void HandleGamepadAxisInput (int objectId, KeyCode keyCode, float x, float y, float z) 348
void HandleGamepadButtonInput (int deviceId, KeyCode keyCode, int buttonState) 348
void HandleGamepadConnect (int deviceId) 348
void HandleGamepadDisconnect (int deviceId) 348
void SendAccelerometerEvent (float x, float y, float z) 348
void SendGravityEvent (float x, float y, float z) 348
void SendGyroscopeEvent (float quatX, float quatY, float quatZ, float quatW) 348
void SendKeyEvent (bool isPressed, KeyCode keyCode, bool isRepeatedKey, Instance layerCollector) 348 355 454
void SendMouseButtonEvent (int x, int y, int mouseButton, bool isDown, Instance layerCollector, int repeatCount) 348 355 423 454
void SendMouseMoveEvent (float x, float y, Instance layerCollector) 348 355 454
void SendMouseWheelEvent (float x, float y, bool isForwardScroll, Instance layerCollector) 348 355 454
void SendTextInputCharacterEvent (string str, Instance layerCollector) 348 355 454
void SendTouchEvent (int64 touchId, int state, float x, float y) 348
void SetInputTypesToIgnore (Variant inputTypesToIgnore) 479
void StartPlaying (string fileName)
void StartPlayingJSON (string string) 479
void StartRecording ()
void StopPlaying () 479
void StopRecording ()
void WaitForInputEventsProcessed () 499
void sendRobloxEvent (string namespace, string detail, string detailType) 355
void sendThemeChangeEvent (string themeName) 438
PlaybackCompleted (string additionalLuaState)
RecordingCompleted (string result)
51 members inherited from Instance

Removed member index (1)

Type Member History
void SetViewportSize (Vector2 sizePx) 479 491

History

Members

AdditionalLuaState On DevHub

This member is hidden. It is not meant to be used, and may have unresolved issues.
This item is not replicated. Its interface does not cross the network boundary.

History

Tags: [Hidden, NotReplicated]

Dump On DevHub

Name Type Default
No parameters.

HandleGamepadAxisInput On DevHub

Name Type Default
objectId int none
keyCode KeyCode none
x float none
y float none
z float none

History

HandleGamepadButtonInput On DevHub

Name Type Default
deviceId int none
keyCode KeyCode none
buttonState int none

History

HandleGamepadConnect On DevHub

Name Type Default
deviceId int none

History

HandleGamepadDisconnect On DevHub

Name Type Default
deviceId int none

History

PlaybackCompleted On DevHub

Name Type Default
additionalLuaState string none

RecordingCompleted On DevHub

Name Type Default
result string none

SendAccelerometerEvent On DevHub

Name Type Default
x float none
y float none
z float none

History

SendGravityEvent On DevHub

Name Type Default
x float none
y float none
z float none

History

SendGyroscopeEvent On DevHub

Name Type Default
quatX float none
quatY float none
quatZ float none
quatW float none

History

SendKeyEvent On DevHub

Name Type Default
isPressed bool none
keyCode KeyCode none
isRepeatedKey bool none
layerCollector Instance none

History

SendMouseButtonEvent On DevHub

Name Type Default
x int none
y int none
mouseButton int none
isDown bool none
layerCollector Instance none
repeatCount int none

History

SendMouseMoveEvent On DevHub

Name Type Default
x float none
y float none
layerCollector Instance none

History

SendMouseWheelEvent On DevHub

Name Type Default
x float none
y float none
isForwardScroll bool none
layerCollector Instance none

History

SendTextInputCharacterEvent On DevHub

Name Type Default
str string none
layerCollector Instance none

History

SendTouchEvent On DevHub

Name Type Default
touchId int64 none
state int none
x float none
y float none

History

SetInputTypesToIgnore On DevHub

Name Type Default
inputTypesToIgnore Variant none

History

StartPlaying On DevHub

Name Type Default
fileName string none

StartPlayingJSON On DevHub

Name Type Default
string string none

History

StartRecording On DevHub

Name Type Default
No parameters.

StopPlaying On DevHub

Name Type Default
No parameters.

History

StopRecording On DevHub

Name Type Default
No parameters.

WaitForInputEventsProcessed On DevHub

This function yields. It will block the calling thread until completion.
Name Type Default
No parameters.

History

Tags: [Yields]

sendRobloxEvent On DevHub

Name Type Default
namespace string none
detail string none
detailType string none

History

sendThemeChangeEvent On DevHub

Name Type Default
themeName string none

History

Removed members

SetViewportSize

Name Type Default
sizePx Vector2 none

History

Relevant classes (1)

Relevant enums (1)