docs.unity.cn
    Show / Hide Table of Contents

    Operator Modulus

    Modulus(double2x2, double2x2)

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

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

    Left hand side double2x2 to use to compute componentwise modulus.

    double2x2 rhs

    Right hand side double2x2 to use to compute componentwise modulus.

    Returns
    Type Description
    double2x2

    double2x2 result of the componentwise modulus.

    Modulus(double2x2, Double)

    Returns the result of a componentwise modulus operation on a double2x2 matrix and a double value.

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

    Left hand side double2x2 to use to compute componentwise modulus.

    Double rhs

    Right hand side double to use to compute componentwise modulus.

    Returns
    Type Description
    double2x2

    double2x2 result of the componentwise modulus.

    Modulus(Double, double2x2)

    Returns the result of a componentwise modulus operation on a double value and a double2x2 matrix.

    Declaration
    public static double2x2 operator %(double lhs, double2x2 rhs)
    Parameters
    Type Name Description
    Double lhs

    Left hand side double to use to compute componentwise modulus.

    double2x2 rhs

    Right hand side double2x2 to use to compute componentwise modulus.

    Returns
    Type Description
    double2x2

    double2x2 result of the componentwise modulus.

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