docs.unity.cn
    Show / Hide Table of Contents

    Struct double4x2

    A 4x2 matrix of doubles.

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

    Constructors

    Name Description
    double4x2(Boolean)

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

    double4x2(Double)

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

    double4x2(Double, Double, Double, Double, Double, Double, Double, Double)

    Constructs a double4x2 matrix from 8 double values given in row-major order.

    double4x2(Int32)

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

    double4x2(Single)

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

    double4x2(UInt32)

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

    double4x2(bool4x2)

    Constructs a double4x2 matrix from a bool4x2 matrix by componentwise conversion.

    double4x2(double4, double4)

    Constructs a double4x2 matrix from two double4 vectors.

    double4x2(float4x2)

    Constructs a double4x2 matrix from a float4x2 matrix by componentwise conversion.

    double4x2(int4x2)

    Constructs a double4x2 matrix from a int4x2 matrix by componentwise conversion.

    double4x2(uint4x2)

    Constructs a double4x2 matrix from a uint4x2 matrix by componentwise conversion.

    Fields

    Name Description
    c0

    Column 0 of the matrix.

    c1

    Column 1 of the matrix.

    zero

    double4x2 zero value.

    Properties

    Name Description
    Item[Int32]

    Returns the double4 element at a specified index.

    Methods

    Name Description
    Equals(Object)

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

    Equals(double4x2)

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

    GetHashCode()

    Returns a hash code for the double4x2.

    ToString()

    Returns a string representation of the double4x2.

    ToString(String, IFormatProvider)

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

    Operators

    Name Description
    Addition(Double, double4x2)

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

    Addition(double4x2, Double)

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

    Addition(double4x2, double4x2)

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

    Decrement(double4x2)

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

    Division(Double, double4x2)

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

    Division(double4x2, Double)

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

    Division(double4x2, double4x2)

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

    Equality(Double, double4x2)

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

    Equality(double4x2, Double)

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

    Equality(double4x2, double4x2)

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

    Explicit(Boolean to double4x2)

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

    Explicit(bool4x2 to double4x2)

    Explicitly converts a bool4x2 matrix to a double4x2 matrix by componentwise conversion.

    GreaterThan(Double, double4x2)

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

    GreaterThan(double4x2, Double)

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

    GreaterThan(double4x2, double4x2)

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

    GreaterThanOrEqual(Double, double4x2)

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

    GreaterThanOrEqual(double4x2, Double)

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

    GreaterThanOrEqual(double4x2, double4x2)

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

    Implicit(Double to double4x2)

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

    Implicit(Int32 to double4x2)

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

    Implicit(Single to double4x2)

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

    Implicit(UInt32 to double4x2)

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

    Implicit(float4x2 to double4x2)

    Implicitly converts a float4x2 matrix to a double4x2 matrix by componentwise conversion.

    Implicit(int4x2 to double4x2)

    Implicitly converts a int4x2 matrix to a double4x2 matrix by componentwise conversion.

    Implicit(uint4x2 to double4x2)

    Implicitly converts a uint4x2 matrix to a double4x2 matrix by componentwise conversion.

    Increment(double4x2)

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

    Inequality(Double, double4x2)

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

    Inequality(double4x2, Double)

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

    Inequality(double4x2, double4x2)

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

    LessThan(Double, double4x2)

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

    LessThan(double4x2, Double)

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

    LessThan(double4x2, double4x2)

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

    LessThanOrEqual(Double, double4x2)

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

    LessThanOrEqual(double4x2, Double)

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

    LessThanOrEqual(double4x2, double4x2)

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

    Modulus(Double, double4x2)

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

    Modulus(double4x2, Double)

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

    Modulus(double4x2, double4x2)

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

    Multiply(Double, double4x2)

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

    Multiply(double4x2, Double)

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

    Multiply(double4x2, double4x2)

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

    Subtraction(Double, double4x2)

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

    Subtraction(double4x2, Double)

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

    Subtraction(double4x2, double4x2)

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

    UnaryNegation(double4x2)

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

    UnaryPlus(double4x2)

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

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