Operator Explicit
Explicit(Boolean to float3x3)
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 |
---|---|---|
Boolean | v | bool to convert to float3x3 |
Returns
Type | Description |
---|---|
float3x3 | Converted value. |
Explicit(bool3x3 to float3x3)
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(Double to float3x3)
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(double3x3 to float3x3)
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(float4x4 to float3x3)
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. |