Operator implicit operator
implicit operator double2x2(double)
Implicitly converts a single double value to a double2x2 matrix by assigning it to every component.
Declaration
public static implicit operator double2x2(double v)
Parameters
| Type | Name | Description |
|---|---|---|
| double | v | double to convert to double2x2 |
Returns
| Type | Description |
|---|---|
| double2x2 | Converted value. |
implicit operator double2x2(int)
Implicitly converts a single int value to a double2x2 matrix by converting it to double and assigning it to every component.
Declaration
public static implicit operator double2x2(int v)
Parameters
| Type | Name | Description |
|---|---|---|
| int | v | int to convert to double2x2 |
Returns
| Type | Description |
|---|---|
| double2x2 | Converted value. |
implicit operator double2x2(int2x2)
Implicitly converts a int2x2 matrix to a double2x2 matrix by componentwise conversion.
Declaration
public static implicit operator double2x2(int2x2 v)
Parameters
| Type | Name | Description |
|---|---|---|
| int2x2 | v | int2x2 to convert to double2x2 |
Returns
| Type | Description |
|---|---|
| double2x2 | Converted value. |
implicit operator double2x2(uint)
Implicitly converts a single uint value to a double2x2 matrix by converting it to double and assigning it to every component.
Declaration
public static implicit operator double2x2(uint v)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | v | uint to convert to double2x2 |
Returns
| Type | Description |
|---|---|
| double2x2 | Converted value. |
implicit operator double2x2(uint2x2)
Implicitly converts a uint2x2 matrix to a double2x2 matrix by componentwise conversion.
Declaration
public static implicit operator double2x2(uint2x2 v)
Parameters
| Type | Name | Description |
|---|---|---|
| uint2x2 | v | uint2x2 to convert to double2x2 |
Returns
| Type | Description |
|---|---|
| double2x2 | Converted value. |
implicit operator double2x2(float)
Implicitly converts a single float value to a double2x2 matrix by converting it to double and assigning it to every component.
Declaration
public static implicit operator double2x2(float v)
Parameters
| Type | Name | Description |
|---|---|---|
| float | v | float to convert to double2x2 |
Returns
| Type | Description |
|---|---|
| double2x2 | Converted value. |
implicit operator double2x2(float2x2)
Implicitly converts a float2x2 matrix to a double2x2 matrix by componentwise conversion.
Declaration
public static implicit operator double2x2(float2x2 v)
Parameters
| Type | Name | Description |
|---|---|---|
| float2x2 | v | float2x2 to convert to double2x2 |
Returns
| Type | Description |
|---|---|
| double2x2 | Converted value. |