Class ScaleProcessor | Package Manager UI website
docs.unity3d.com
    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 © 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