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