Bearbeiten

Freigeben über


MixedRealityKeyboardPreview Class

Definition

Component to manage the visuals for a Mixed Reality Keyboard Preview window.

public ref class MixedRealityKeyboardPreview : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/MixedRealityKeyboardPreview")]
public class MixedRealityKeyboardPreview : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/MixedRealityKeyboardPreview")>]
type MixedRealityKeyboardPreview = class
    inherit MonoBehaviour
Public Class MixedRealityKeyboardPreview
Inherits MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
MixedRealityKeyboardPreview
Attributes
UnityEngine.AddComponentMenuAttribute

Constructors

MixedRealityKeyboardPreview()

Properties

CaretIndex

Where the caret lies within the text.

PreviewCaret

The transform to move based on the preview caret.

PreviewText

The Text Mesh Pro text field to display the preview text.

Text

The text to display in the preview.

Methods

ToggleSolvers()

Utility method which can be used to toggle if solvers update.

Applies to