Struct IMECompositionEvent
A specialized event that contains the current IME Composition string, if IME is enabled and active. This event contains the entire current string to date, and once a new composition is submitted will send a blank string event.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: UnityEngine.Experimental.Input.LowLevel
Syntax
public struct IMECompositionEvent : IInputEventTypeInfo
Fields
baseEvent
Declaration
public InputEvent baseEvent
Field Value
| Type | Description |
|---|---|
| InputEvent |
compositionString
Declaration
public IMECompositionString compositionString
Field Value
| Type | Description |
|---|---|
| IMECompositionString |
kIMECharBufferSize
Declaration
public const int kIMECharBufferSize = 64
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Type
Declaration
public const int Type = 1229800787
Field Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
Create(Int32, String, Double)
Declaration
public static IMECompositionEvent Create(int deviceId, string compositionString, double time)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | deviceId | |
| System.String | compositionString | |
| System.Double | time |
Returns
| Type | Description |
|---|---|
| IMECompositionEvent |
GetTypeStatic()
Declaration
public FourCC GetTypeStatic()
Returns
| Type | Description |
|---|---|
| FourCC |