docs.unity.cn
    Show / Hide Table of Contents

    Struct double2x2

    A 2x2 matrix of doubles.

    Namespace: Unity.Mathematics
    Syntax
    public struct double2x2 : System.IEquatable<double2x2>, IFormattable

    Constructors

    Name Description
    double2x2(Boolean)

    Constructs a double2x2 matrix from a single bool value by converting it to double and assigning it to every component.

    double2x2(Double)

    Constructs a double2x2 matrix from a single double value by assigning it to every component.

    double2x2(Double, Double, Double, Double)

    Constructs a double2x2 matrix from 4 double values given in row-major order.

    double2x2(Int32)

    Constructs a double2x2 matrix from a single int value by converting it to double and assigning it to every component.

    double2x2(Single)

    Constructs a double2x2 matrix from a single float value by converting it to double and assigning it to every component.

    double2x2(UInt32)

    Constructs a double2x2 matrix from a single uint value by converting it to double and assigning it to every component.

    double2x2(bool2x2)

    Constructs a double2x2 matrix from a bool2x2 matrix by componentwise conversion.

    double2x2(double2, double2)

    Constructs a double2x2 matrix from two double2 vectors.

    double2x2(float2x2)

    Constructs a double2x2 matrix from a float2x2 matrix by componentwise conversion.

    double2x2(int2x2)

    Constructs a double2x2 matrix from a int2x2 matrix by componentwise conversion.

    double2x2(uint2x2)

    Constructs a double2x2 matrix from a uint2x2 matrix by componentwise conversion.

    Fields

    Name Description
    c0

    Column 0 of the matrix.

    c1

    Column 1 of the matrix.

    identity

    double2x2 identity transform.

    zero

    double2x2 zero value.

    Properties

    Name Description
    Item[Int32]

    Returns the double2 element at a specified index.

    Methods

    Name Description
    Equals(Object)

    Returns true if the double2x2 is equal to a given double2x2, false otherwise.

    Equals(double2x2)

    Returns true if the double2x2 is equal to a given double2x2, false otherwise.

    GetHashCode()

    Returns a hash code for the double2x2.

    ToString()

    Returns a string representation of the double2x2.

    ToString(String, IFormatProvider)

    Returns a string representation of the double2x2 using a specified format and culture-specific format information.

    Operators

    Name Description
    Addition(Double, double2x2)

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

    Addition(double2x2, Double)

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

    Addition(double2x2, double2x2)

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

    Decrement(double2x2)

    Returns the result of a componentwise decrement operation on a double2x2 matrix.

    Division(Double, double2x2)

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

    Division(double2x2, Double)

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

    Division(double2x2, double2x2)

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

    Equality(Double, double2x2)

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

    Equality(double2x2, Double)

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

    Equality(double2x2, double2x2)

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

    Explicit(Boolean to double2x2)

    Explicitly converts a single bool value to a double2x2 matrix by converting it to double and assigning it to every component.

    Explicit(bool2x2 to double2x2)

    Explicitly converts a bool2x2 matrix to a double2x2 matrix by componentwise conversion.

    GreaterThan(Double, double2x2)

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

    GreaterThan(double2x2, Double)

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

    GreaterThan(double2x2, double2x2)

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

    GreaterThanOrEqual(Double, double2x2)

    Returns the result of a componentwise greater or equal operation on a double value and a double2x2 matrix.

    GreaterThanOrEqual(double2x2, Double)

    Returns the result of a componentwise greater or equal operation on a double2x2 matrix and a double value.

    GreaterThanOrEqual(double2x2, double2x2)

    Returns the result of a componentwise greater or equal operation on two double2x2 matrices.

    Implicit(Double to double2x2)

    Implicitly converts a single double value to a double2x2 matrix by assigning it to every component.

    Implicit(Int32 to double2x2)

    Implicitly converts a single int value to a double2x2 matrix by converting it to double and assigning it to every component.

    Implicit(Single to double2x2)

    Implicitly converts a single float value to a double2x2 matrix by converting it to double and assigning it to every component.

    Implicit(UInt32 to double2x2)

    Implicitly converts a single uint value to a double2x2 matrix by converting it to double and assigning it to every component.

    Implicit(float2x2 to double2x2)

    Implicitly converts a float2x2 matrix to a double2x2 matrix by componentwise conversion.

    Implicit(int2x2 to double2x2)

    Implicitly converts a int2x2 matrix to a double2x2 matrix by componentwise conversion.

    Implicit(uint2x2 to double2x2)

    Implicitly converts a uint2x2 matrix to a double2x2 matrix by componentwise conversion.

    Increment(double2x2)

    Returns the result of a componentwise increment operation on a double2x2 matrix.

    Inequality(Double, double2x2)

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

    Inequality(double2x2, Double)

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

    Inequality(double2x2, double2x2)

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

    LessThan(Double, double2x2)

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

    LessThan(double2x2, Double)

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

    LessThan(double2x2, double2x2)

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

    LessThanOrEqual(Double, double2x2)

    Returns the result of a componentwise less or equal operation on a double value and a double2x2 matrix.

    LessThanOrEqual(double2x2, Double)

    Returns the result of a componentwise less or equal operation on a double2x2 matrix and a double value.

    LessThanOrEqual(double2x2, double2x2)

    Returns the result of a componentwise less or equal operation on two double2x2 matrices.

    Modulus(Double, double2x2)

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

    Modulus(double2x2, Double)

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

    Modulus(double2x2, double2x2)

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

    Multiply(Double, double2x2)

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

    Multiply(double2x2, Double)

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

    Multiply(double2x2, double2x2)

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

    Subtraction(Double, double2x2)

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

    Subtraction(double2x2, Double)

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

    Subtraction(double2x2, double2x2)

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

    UnaryNegation(double2x2)

    Returns the result of a componentwise unary minus operation on a double2x2 matrix.

    UnaryPlus(double2x2)

    Returns the result of a componentwise unary plus operation on a double2x2 matrix.

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