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