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

    Struct DeviceResetEvent

    Event that causes the state of an InputDevice to be reset (see ResetDevice(InputDevice, Boolean)).

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

    Fields

    baseEvent

    Common event data.

    Declaration
    public InputEvent baseEvent
    Field Value
    Type Description
    InputEvent

    hardReset

    Whether to also reset dontReset controls.

    Declaration
    public bool hardReset
    Field Value
    Type Description
    Boolean

    Type

    Declaration
    public const int Type = 1146245972
    Field Value
    Type Description
    Int32

    Properties

    typeStatic

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

    Methods

    Create(Int32, Boolean, Double)

    Declaration
    public static DeviceResetEvent Create(int deviceId, bool hardReset = false, double time = -1)
    Parameters
    Type Name Description
    Int32 deviceId
    Boolean hardReset
    Double time
    Returns
    Type Description
    DeviceResetEvent

    See Also

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