mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class KeyboardValueKey

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

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

    Fields

    ShiftValue

    The shifted string value for this key.

    Declaration
    public string ShiftValue
    Field Value
    Type Description
    String

    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

    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.

    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.

    Implements

    MonoBehaviour
    In This Article
    • Fields
      • ShiftValue
      • ShiftValue
      • Value
      • Value
    • Methods
      • Shift(Boolean)
      • Shift(Boolean)
    • Implements
    Back to top Generated by DocFX