docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method StandardizeUnit

    StandardizeUnit(float, PositionUnits)

    Standardize the unit, so that it lies between MinUmit and MaxUnit

    Declaration
    public virtual float StandardizeUnit(float pos, CinemachinePathBase.PositionUnits units)
    Parameters
    Type Name Description
    float pos

    The value to be standardized

    CinemachinePathBase.PositionUnits units

    The unit type

    Returns
    Type Description
    float

    The standardized value of pos, between MinUnit and MaxUnit

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)