docs.unity.cn
    Show / Hide Table of Contents

    Operator Modulus

    Modulus(uint4x4, uint4x4)

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

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

    Left hand side uint4x4 to use to compute componentwise modulus.

    uint4x4 rhs

    Right hand side uint4x4 to use to compute componentwise modulus.

    Returns
    Type Description
    uint4x4

    uint4x4 result of the componentwise modulus.

    Modulus(uint4x4, UInt32)

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

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

    Left hand side uint4x4 to use to compute componentwise modulus.

    UInt32 rhs

    Right hand side uint to use to compute componentwise modulus.

    Returns
    Type Description
    uint4x4

    uint4x4 result of the componentwise modulus.

    Modulus(UInt32, uint4x4)

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

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

    Left hand side uint to use to compute componentwise modulus.

    uint4x4 rhs

    Right hand side uint4x4 to use to compute componentwise modulus.

    Returns
    Type Description
    uint4x4

    uint4x4 result of the componentwise modulus.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, March 29, 2022
    Terms of use