docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method LessThan16

    LessThan16(ushort, ushort)

    Describes whether the non-absolute difference between two sequenceIDs is greater than or equal to 2^15 (or 0x8000, or 32768). (The "16" seems to be the 16th bit in a 16-bit integer.)

    Declaration
    public static bool LessThan16(ushort lhs, ushort rhs)
    Parameters
    Type Name Description
    ushort lhs

    The first operand.

    ushort rhs

    The second operand.

    Returns
    Type Description
    bool

    Whether or not the non-wrapping difference between the two operands is greater than unsigned 0x7FFF.

    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)