Interface IInputControlProcessor<TValue> | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IInputControlProcessor<TValue>

    Namespace: UnityEngine.Experimental.Input
    Syntax
    public interface IInputControlProcessor<TValue>
        where TValue : struct
    Type Parameters
    Name Description
    TValue

    Methods

    Process(TValue, InputControl)

    Process the given value and return the result.

    Declaration
    TValue Process(TValue value, InputControl control)
    Parameters
    Type Name Description
    TValue value

    Input value to process.

    InputControl control

    The control the value is processed for. Note that value is not necessarily equal to as other processors in the stack may have already altered the value.

    Returns
    Type Description
    TValue

    Processed input value.

    Remarks

    The implementation of this method must not be stateful.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023