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

    Class ScaleProcessor

    Scale a float value by a constant factor.

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

    Fields

    factor

    Declaration
    public float factor
    Field Value
    Type Description
    System.Single

    Methods

    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