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