KeyboardInputFieldBase<T> Class

Definition

Base class explicitly launching Windows Mixed Reality's system keyboard for InputField and TMP_InputField To be attached to the same GameObject with either of the components.

generic <typename T>
 where T : Selectablepublic ref class KeyboardInputFieldBase abstract : Microsoft::MixedReality::Toolkit::Experimental::UI::MixedRealityKeyboardBase
public abstract class KeyboardInputFieldBase<T> : Microsoft.MixedReality.Toolkit.Experimental.UI.MixedRealityKeyboardBase where T : Selectable
type KeyboardInputFieldBase<'T (requires 'T :> Selectable)> = class
    inherit MixedRealityKeyboardBase
Public MustInherit Class KeyboardInputFieldBase(Of T)
Inherits MixedRealityKeyboardBase

Type Parameters

T
Inheritance
UnityEngine.MonoBehaviour
KeyboardInputFieldBase<T>
Derived

Constructors

KeyboardInputFieldBase<T>()

Fields

inputField

Properties

CaretIndex

Returns the index of the caret within the text.

(Inherited from MixedRealityKeyboardBase)
DisableUIInteractionWhenTyping

Whether disable user's interaction with other UI elements while typing. Use this option to decrease the chance of keyboard getting accidentally closed.

(Inherited from MixedRealityKeyboardBase)
OnCommitText

Event which triggers when commit action is invoked on the keyboard. (Usually the return key.)

(Inherited from MixedRealityKeyboardBase)
OnHideKeyboard

Event which triggers when the keyboard is hidden.

(Inherited from MixedRealityKeyboardBase)
OnShowKeyboard

Event which triggers when the keyboard is shown.

(Inherited from MixedRealityKeyboardBase)
Text (Inherited from MixedRealityKeyboardBase)
Visible

Returns true if the keyboard is currently open.

(Inherited from MixedRealityKeyboardBase)

Methods

ClearKeyboardText()

Removes the current text from the keyboard.

(Inherited from MixedRealityKeyboardBase)
HideKeyboard()

Closes the keyboard for user interaction.

(Inherited from MixedRealityKeyboardBase)
PlaceHolderGraphic(T)
ShowKeyboard(String, Boolean)

Opens the keyboard for user interaction.

(Inherited from MixedRealityKeyboardBase)
SyncCaret() (Inherited from MixedRealityKeyboardBase)
TextGraphic(T)

Applies to