Struct TextEvent
A single character text input event.
Assembly: Unity.InputSystem.dll
Syntax
public struct TextEvent : IInputEventTypeInfo
Fields
Type
Declaration
public const int Type = 1413830740
Field Value
baseEvent
Declaration
public InputEvent baseEvent
Field Value
character
Character in UTF-32 encoding.
Declaration
Field Value
Properties
typeStatic
Declaration
public FourCC typeStatic { get; }
Property Value
Methods
Create(int, char, double)
Declaration
public static TextEvent Create(int deviceId, char character, double time = -1)
Parameters
Returns
Create(int, int, double)
Declaration
public static TextEvent Create(int deviceId, int character, double time = -1)
Parameters
Type |
Name |
Description |
int |
deviceId |
|
int |
character |
|
double |
time |
|
Returns
From(InputEventPtr)
Declaration
public static TextEvent* From(InputEventPtr eventPtr)
Parameters
Returns
Implements