Show / Hide Table of Contents

    Struct ModifierKeyCombo

    Namespace: QFSW.QC
    Assembly: QFSW.QC.dll
    Syntax
    [Serializable]
    public struct ModifierKeyCombo

    Fields

    Alt

    Declaration
    [FormerlySerializedAs("alt")]
    public bool Alt
    Field Value
    Type Description
    Boolean

    Ctrl

    Declaration
    [FormerlySerializedAs("ctrl")]
    public bool Ctrl
    Field Value
    Type Description
    Boolean

    Key

    Declaration
    [FormerlySerializedAs("key")]
    public KeyCode Key
    Field Value
    Type Description
    KeyCode

    Shift

    Declaration
    [FormerlySerializedAs("shift")]
    public bool Shift
    Field Value
    Type Description
    Boolean

    Properties

    ModifiersActive

    Declaration
    public bool ModifiersActive { get; }
    Property Value
    Type Description
    Boolean

    Methods

    IsHeld()

    Declaration
    public bool IsHeld()
    Returns
    Type Description
    Boolean

    IsPressed()

    Declaration
    public bool IsPressed()
    Returns
    Type Description
    Boolean

    Operators

    Implicit(KeyCode to ModifierKeyCombo)

    Declaration
    public static implicit operator ModifierKeyCombo(KeyCode key)
    Parameters
    Type Name Description
    KeyCode key
    Returns
    Type Description
    ModifierKeyCombo

    Extension Methods

    ArraySingleExtensions.AsArraySingle<T>(T)
    CollectionExtensions.Yield<T>(T)
    Quantum Console by QFSW
    Back to top