日本語翻訳ドキュメントはサポートを終了しました

MRTK 2.6 以降のドキュメントについては、公式の Microsoft ドキュメント を参照してください。

    Show / Hide Table of Contents

    Class KeyboardValueKey

    Represents a key on the keyboard that has a string value for input.

    Inheritance
    Object
    KeyboardValueKey
    Namespace: Microsoft.MixedReality.Toolkit.Experimental.UI
    Assembly: cs.temp.dll.dll
    Syntax
    public class KeyboardValueKey : MonoBehaviour

    Fields

    ShiftValue

    The shifted string value for this key.

    Declaration
    public string ShiftValue
    Field Value
    Type Description
    String

    Value

    The default string value for this key.

    Declaration
    public string Value
    Field Value
    Type Description
    String

    Methods

    Shift(Boolean)

    Called by the Keyboard when the shift key is pressed. Updates the text for this key using the Value and ShiftValue fields.

    Declaration
    public void Shift(bool isShifted)
    Parameters
    Type Name Description
    Boolean isShifted

    Indicates the state of shift, the key needs to be changed to.

    Back to top Generated by DocFX