docs.unity.cn
    Show / Hide Table of Contents

    Operator Modulus

    Modulus(int3x4, int3x4)

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

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

    Left hand side int3x4 to use to compute componentwise modulus.

    int3x4 rhs

    Right hand side int3x4 to use to compute componentwise modulus.

    Returns
    Type Description
    int3x4

    int3x4 result of the componentwise modulus.

    Modulus(int3x4, Int32)

    Returns the result of a componentwise modulus operation on an int3x4 matrix and an int value.

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

    Left hand side int3x4 to use to compute componentwise modulus.

    Int32 rhs

    Right hand side int to use to compute componentwise modulus.

    Returns
    Type Description
    int3x4

    int3x4 result of the componentwise modulus.

    Modulus(Int32, int3x4)

    Returns the result of a componentwise modulus operation on an int value and an int3x4 matrix.

    Declaration
    public static int3x4 operator %(int lhs, int3x4 rhs)
    Parameters
    Type Name Description
    Int32 lhs

    Left hand side int to use to compute componentwise modulus.

    int3x4 rhs

    Right hand side int3x4 to use to compute componentwise modulus.

    Returns
    Type Description
    int3x4

    int3x4 result of the componentwise modulus.

    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