implicit operator double2x3
Implicitly converts a single double value to a double2x3 matrix by assigning it to every component.
Read time 2 minutesLast updated 4 days ago
Definition
- Type: Operator
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
implicit operator double2x3(double2x)
Implicitly converts a single double value to a double2x3 matrix by assigning it to every component.
public static implicit operator double2x3(double v)
Parameters
double to convert to double2x3
Returns
Type | Description |
|---|---|
| double2x3 | Converted value. |
implicit operator double2x3(double2x)
Implicitly converts a single int value to a double2x3 matrix by converting it to double and assigning it to every component.
public static implicit operator double2x3(int v)
Parameters
int to convert to double2x3
Returns
Type | Description |
|---|---|
| double2x3 | Converted value. |
implicit operator double2x3(double2x)
Implicitly converts a int2x3 matrix to a double2x3 matrix by componentwise conversion.
public static implicit operator double2x3(int2x3 v)
Parameters
int2x3 to convert to double2x3
Returns
Type | Description |
|---|---|
| double2x3 | Converted value. |
implicit operator double2x3(double2x)
Implicitly converts a single uint value to a double2x3 matrix by converting it to double and assigning it to every component.
public static implicit operator double2x3(uint v)
Parameters
uint to convert to double2x3
Returns
Type | Description |
|---|---|
| double2x3 | Converted value. |
implicit operator double2x3(double2x)
Implicitly converts a uint2x3 matrix to a double2x3 matrix by componentwise conversion.
public static implicit operator double2x3(uint2x3 v)
Parameters
uint2x3 to convert to double2x3
Returns
Type | Description |
|---|---|
| double2x3 | Converted value. |
implicit operator double2x3(double2x)
Implicitly converts a single float value to a double2x3 matrix by converting it to double and assigning it to every component.
public static implicit operator double2x3(float v)
Parameters
float to convert to double2x3
Returns
Type | Description |
|---|---|
| double2x3 | Converted value. |
implicit operator double2x3(double2x)
Implicitly converts a float2x3 matrix to a double2x3 matrix by componentwise conversion.
public static implicit operator double2x3(float2x3 v)
Parameters
float2x3 to convert to double2x3
Returns
Type | Description |
|---|---|
| double2x3 | Converted value. |