Struct double4
A 4 component vector of doubles.
Inherited Members
Namespace: Unity.Mathematics
Assembly: solution.dll
Syntax
[Serializable]
public struct double4 : IEquatable<double4>, IFormattable
Constructors
Name | Description |
---|---|
double4(bool) | Constructs a double4 vector from a single bool value by converting it to double and assigning it to every component. |
double4(double) | Constructs a double4 vector from a single double value by assigning it to every component. |
double4(double, double, double, double) | Constructs a double4 vector from four double values. |
double4(double, double, double2) | Constructs a double4 vector from two double values and a double2 vector. |
double4(double, double2, double) | Constructs a double4 vector from a double value, a double2 vector and a double value. |
double4(double, double3) | Constructs a double4 vector from a double value and a double3 vector. |
double4(int) | Constructs a double4 vector from a single int value by converting it to double and assigning it to every component. |
double4(float) | Constructs a double4 vector from a single float value by converting it to double and assigning it to every component. |
double4(uint) | Constructs a double4 vector from a single uint value by converting it to double and assigning it to every component. |
double4(bool4) | Constructs a double4 vector from a bool4 vector by componentwise conversion. |
double4(double2, double, double) | Constructs a double4 vector from a double2 vector and two double values. |
double4(double2, double2) | Constructs a double4 vector from two double2 vectors. |
double4(double3, double) | Constructs a double4 vector from a double3 vector and a double value. |
double4(double4) | Constructs a double4 vector from a double4 vector. |
double4(float4) | Constructs a double4 vector from a float4 vector by componentwise conversion. |
double4(half) | Constructs a double4 vector from a single half value by converting it to double and assigning it to every component. |
double4(half4) | Constructs a double4 vector from a half4 vector by componentwise conversion. |
double4(int4) | Constructs a double4 vector from a int4 vector by componentwise conversion. |
double4(uint4) | Constructs a double4 vector from a uint4 vector by componentwise conversion. |
Fields
Name | Description |
---|---|
w | w component of the vector. |
x | x component of the vector. |
y | y component of the vector. |
z | z component of the vector. |
zero | double4 zero value. |
Properties
Name | Description |
---|---|
this[int] | Returns the double element at a specified index. |
Methods
Name | Description |
---|---|
Equals(object) | Returns true if the double4 is equal to a given double4, false otherwise. |
Equals(double4) | Returns true if the double4 is equal to a given double4, false otherwise. |
GetHashCode() | Returns a hash code for the double4. |
ToString() | Returns a string representation of the double4. |
ToString(string, IFormatProvider) | Returns a string representation of the double4 using a specified format and culture-specific format information. |
Operators
Name | Description |
---|---|
operator +(double, double4) | Returns the result of a componentwise addition operation on a double value and a double4 vector. |
operator +(double4, double) | Returns the result of a componentwise addition operation on a double4 vector and a double value. |
operator +(double4, double4) | Returns the result of a componentwise addition operation on two double4 vectors. |
operator --(double4) | Returns the result of a componentwise decrement operation on a double4 vector. |
operator /(double, double4) | Returns the result of a componentwise division operation on a double value and a double4 vector. |
operator /(double4, double) | Returns the result of a componentwise division operation on a double4 vector and a double value. |
operator /(double4, double4) | Returns the result of a componentwise division operation on two double4 vectors. |
operator ==(double, double4) | Returns the result of a componentwise equality operation on a double value and a double4 vector. |
operator ==(double4, double) | Returns the result of a componentwise equality operation on a double4 vector and a double value. |
operator ==(double4, double4) | Returns the result of a componentwise equality operation on two double4 vectors. |
explicit operator double4(bool) | Explicitly converts a single bool value to a double4 vector by converting it to double and assigning it to every component. |
explicit operator double4(bool4) | Explicitly converts a bool4 vector to a double4 vector by componentwise conversion. |
operator >(double, double4) | Returns the result of a componentwise greater than operation on a double value and a double4 vector. |
operator >(double4, double) | Returns the result of a componentwise greater than operation on a double4 vector and a double value. |
operator >(double4, double4) | Returns the result of a componentwise greater than operation on two double4 vectors. |
operator >=(double, double4) | Returns the result of a componentwise greater or equal operation on a double value and a double4 vector. |
operator >=(double4, double) | Returns the result of a componentwise greater or equal operation on a double4 vector and a double value. |
operator >=(double4, double4) | Returns the result of a componentwise greater or equal operation on two double4 vectors. |
implicit operator double4(double) | Implicitly converts a single double value to a double4 vector by assigning it to every component. |
implicit operator double4(int) | Implicitly converts a single int value to a double4 vector by converting it to double and assigning it to every component. |
implicit operator double4(float) | Implicitly converts a single float value to a double4 vector by converting it to double and assigning it to every component. |
implicit operator double4(uint) | Implicitly converts a single uint value to a double4 vector by converting it to double and assigning it to every component. |
implicit operator double4(float4) | Implicitly converts a float4 vector to a double4 vector by componentwise conversion. |
implicit operator double4(half) | Implicitly converts a single half value to a double4 vector by converting it to double and assigning it to every component. |
implicit operator double4(half4) | Implicitly converts a half4 vector to a double4 vector by componentwise conversion. |
implicit operator double4(int4) | Implicitly converts a int4 vector to a double4 vector by componentwise conversion. |
implicit operator double4(uint4) | Implicitly converts a uint4 vector to a double4 vector by componentwise conversion. |
operator ++(double4) | Returns the result of a componentwise increment operation on a double4 vector. |
operator !=(double, double4) | Returns the result of a componentwise not equal operation on a double value and a double4 vector. |
operator !=(double4, double) | Returns the result of a componentwise not equal operation on a double4 vector and a double value. |
operator !=(double4, double4) | Returns the result of a componentwise not equal operation on two double4 vectors. |
operator <(double, double4) | Returns the result of a componentwise less than operation on a double value and a double4 vector. |
operator <(double4, double) | Returns the result of a componentwise less than operation on a double4 vector and a double value. |
operator <(double4, double4) | Returns the result of a componentwise less than operation on two double4 vectors. |
operator <=(double, double4) | Returns the result of a componentwise less or equal operation on a double value and a double4 vector. |
operator <=(double4, double) | Returns the result of a componentwise less or equal operation on a double4 vector and a double value. |
operator <=(double4, double4) | Returns the result of a componentwise less or equal operation on two double4 vectors. |
operator %(double, double4) | Returns the result of a componentwise modulus operation on a double value and a double4 vector. |
operator %(double4, double) | Returns the result of a componentwise modulus operation on a double4 vector and a double value. |
operator %(double4, double4) | Returns the result of a componentwise modulus operation on two double4 vectors. |
operator *(double, double4) | Returns the result of a componentwise multiplication operation on a double value and a double4 vector. |
operator *(double4, double) | Returns the result of a componentwise multiplication operation on a double4 vector and a double value. |
operator *(double4, double4) | Returns the result of a componentwise multiplication operation on two double4 vectors. |
operator -(double, double4) | Returns the result of a componentwise subtraction operation on a double value and a double4 vector. |
operator -(double4, double) | Returns the result of a componentwise subtraction operation on a double4 vector and a double value. |
operator -(double4, double4) | Returns the result of a componentwise subtraction operation on two double4 vectors. |
operator -(double4) | Returns the result of a componentwise unary minus operation on a double4 vector. |
operator +(double4) | Returns the result of a componentwise unary plus operation on a double4 vector. |