docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Operator operator %

    operator %(uint4x2, uint4x2)

    Returns the result of a componentwise modulus operation on two uint4x2 matrices.

    Declaration
    public static uint4x2 operator %(uint4x2 lhs, uint4x2 rhs)
    Parameters
    Type Name Description
    uint4x2 lhs

    Left hand side uint4x2 to use to compute componentwise modulus.

    uint4x2 rhs

    Right hand side uint4x2 to use to compute componentwise modulus.

    Returns
    Type Description
    uint4x2

    uint4x2 result of the componentwise modulus.

    operator %(uint4x2, uint)

    Returns the result of a componentwise modulus operation on a uint4x2 matrix and a uint value.

    Declaration
    public static uint4x2 operator %(uint4x2 lhs, uint rhs)
    Parameters
    Type Name Description
    uint4x2 lhs

    Left hand side uint4x2 to use to compute componentwise modulus.

    uint rhs

    Right hand side uint to use to compute componentwise modulus.

    Returns
    Type Description
    uint4x2

    uint4x2 result of the componentwise modulus.

    operator %(uint, uint4x2)

    Returns the result of a componentwise modulus operation on a uint value and a uint4x2 matrix.

    Declaration
    public static uint4x2 operator %(uint lhs, uint4x2 rhs)
    Parameters
    Type Name Description
    uint lhs

    Left hand side uint to use to compute componentwise modulus.

    uint4x2 rhs

    Right hand side uint4x2 to use to compute componentwise modulus.

    Returns
    Type Description
    uint4x2

    uint4x2 result of the componentwise modulus.

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