docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Operator implicit operator

    implicit operator FloatRange(float)

    Returns a range from a float value

    Declaration
    public static implicit operator FloatRange(float val)
    Parameters
    Type Name Description
    float val

    The value that needs to be converted

    Returns
    Type Description
    FloatRange

    Returns the Range value converted to a float

    In This Article
    Back to top
    Copyright © 2025 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)