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