Operator explicit operator
explicit operator float3x3(bool)
Explicitly converts a single bool value to a float3x3 matrix by converting it to float and assigning it to every component.
Declaration
public static explicit operator float3x3(bool v)
Parameters
Type | Name | Description |
---|---|---|
bool | v | bool to convert to float3x3 |
Returns
Type | Description |
---|---|
float3x3 | Converted value. |
explicit operator float3x3(bool3x3)
Explicitly converts a bool3x3 matrix to a float3x3 matrix by componentwise conversion.
Declaration
public static explicit operator float3x3(bool3x3 v)
Parameters
Type | Name | Description |
---|---|---|
bool3x3 | v | bool3x3 to convert to float3x3 |
Returns
Type | Description |
---|---|
float3x3 | Converted value. |
explicit operator float3x3(double)
Explicitly converts a single double value to a float3x3 matrix by converting it to float and assigning it to every component.
Declaration
public static explicit operator float3x3(double v)
Parameters
Type | Name | Description |
---|---|---|
double | v | double to convert to float3x3 |
Returns
Type | Description |
---|---|
float3x3 | Converted value. |
explicit operator float3x3(double3x3)
Explicitly converts a double3x3 matrix to a float3x3 matrix by componentwise conversion.
Declaration
public static explicit operator float3x3(double3x3 v)
Parameters
Type | Name | Description |
---|---|---|
double3x3 | v | double3x3 to convert to float3x3 |
Returns
Type | Description |
---|---|
float3x3 | Converted value. |
explicit operator float3x3(float4x4)
Converts a float4x4 to a float3x3.
Declaration
public static explicit operator float3x3(float4x4 f4x4)
Parameters
Type | Name | Description |
---|---|---|
float4x4 | f4x4 | The float4x4 to convert to a float3x3. |
Returns
Type | Description |
---|---|
float3x3 | The float3x3 constructed from the upper left 3x3 of the input float4x4 matrix. |