Class MixedRealityKeyboardPreview
Component to manage the visuals for a Mixed Reality Keyboard Preview window.
Implements
MonoBehaviour
Namespace: Microsoft.MixedReality.Toolkit.Experimental.UI
Assembly: cs.temp.dll.dll
Syntax
public class MixedRealityKeyboardPreview : MonoBehaviour, MonoBehaviour
Properties
CaretIndex
Where the caret lies within the text.
Declaration
public int CaretIndex { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
CaretIndex
Where the caret lies within the text.
Declaration
public int CaretIndex { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
PreviewCaret
The transform to move based on the preview caret.
Declaration
public Transform PreviewCaret { get; set; }
Property Value
Type | Description |
---|---|
Transform |
PreviewCaret
The transform to move based on the preview caret.
Declaration
public Transform PreviewCaret { get; set; }
Property Value
Type | Description |
---|---|
Transform |
PreviewText
The Text Mesh Pro text field to display the preview text.
Declaration
public TextMeshPro PreviewText { get; set; }
Property Value
Type | Description |
---|---|
TextMeshPro |
PreviewText
The Text Mesh Pro text field to display the preview text.
Declaration
public TextMeshPro PreviewText { get; set; }
Property Value
Type | Description |
---|---|
TextMeshPro |
Text
The text to display in the preview.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
String |
Text
The text to display in the preview.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
ToggleSolvers()
Utility method which can be used to toggle if solvers update.
Declaration
public void ToggleSolvers()
ToggleSolvers()
Utility method which can be used to toggle if solvers update.
Declaration
public void ToggleSolvers()
Implements
MonoBehaviour