docs.unity3d.com
    目次を表示する/隠す

    Struct QueryKeyboardLayoutCommand

    Command to query the name of the current keyboard layout from a device.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Namespace: UnityEngine.InputSystem.LowLevel
    Syntax
    public struct QueryKeyboardLayoutCommand : IInputDeviceCommandInfo

    Fields

    baseCommand

    Declaration
    public InputDeviceCommand baseCommand
    Field Value
    Type Description
    InputDeviceCommand

    nameBuffer

    Declaration
    public byte *nameBuffer
    Field Value
    Type Description
    Byte*

    Properties

    Type

    Declaration
    public static readonly FourCC Type { get; }
    Property Value
    Type Description
    FourCC

    typeStatic

    Declaration
    public readonly FourCC typeStatic { get; }
    Property Value
    Type Description
    FourCC
    Implements
    IInputDeviceCommandInfo.typeStatic

    Methods

    Create()

    Declaration
    public static QueryKeyboardLayoutCommand Create()
    Returns
    Type Description
    QueryKeyboardLayoutCommand

    ReadLayoutName()

    Read the current keyboard layout name from nameBuffer.

    Declaration
    public string ReadLayoutName()
    Returns
    Type Description
    String

    WriteLayoutName(String)

    Write the given string to nameBuffer.

    Declaration
    public void WriteLayoutName(string name)
    Parameters
    Type Name Description
    String name

    Keyboard layout name.

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)