Class NormalizeProcessor | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    Class NormalizeProcessor

    Inheritance
    System.Object
    InputProcessor
    InputProcessor<System.Single>
    NormalizeProcessor
    Inherited Members
    InputProcessor<Single>.valueType
    InputProcessor<Single>.ProcessAsObject(Object, InputControl)
    InputProcessor<Single>.Process(Void*, Int32, InputControl)
    Namespace: UnityEngine.InputSystem.Processors
    Syntax
    public class NormalizeProcessor : InputProcessor<float>

    Fields

    max

    Declaration
    public float max
    Field Value
    Type Description
    System.Single

    min

    Declaration
    public float min
    Field Value
    Type Description
    System.Single

    zero

    Declaration
    public float zero
    Field Value
    Type Description
    System.Single

    Methods

    Normalize(Single, Single, Single, Single)

    Declaration
    public static float Normalize(float value, float min, float max, float zero)
    Parameters
    Type Name Description
    System.Single value
    System.Single min
    System.Single max
    System.Single zero
    Returns
    Type Description
    System.Single

    Process(Single, InputControl<Single>)

    Declaration
    public override float Process(float value, InputControl<float> control)
    Parameters
    Type Name Description
    System.Single value
    InputControl<System.Single> control
    Returns
    Type Description
    System.Single
    Overrides
    UnityEngine.InputSystem.InputProcessor<System.Single>.Process(System.Single, UnityEngine.InputSystem.InputControl<System.Single>)
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX