explicit operator float3x3
Explicitly converts a single bool value to a float3x3 matrix by converting it to float and assigning it to every component.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Operator
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
explicit operator float3x3(float3x)
Explicitly converts a single bool value to a float3x3 matrix by converting it to float and assigning it to every component.
public static explicit operator float3x3(bool v)
Parameters
bool to convert to float3x3
Returns
Type | Description |
|---|---|
| float3x3 | Converted value. |
explicit operator float3x3(float3x)
Explicitly converts a bool3x3 matrix to a float3x3 matrix by componentwise conversion.
public static explicit operator float3x3(bool3x3 v)
Parameters
bool3x3 to convert to float3x3
Returns
Type | Description |
|---|---|
| float3x3 | Converted value. |
explicit operator float3x3(float3x)
Explicitly converts a single double value to a float3x3 matrix by converting it to float and assigning it to every component.
public static explicit operator float3x3(double v)
Parameters
double to convert to float3x3
Returns
Type | Description |
|---|---|
| float3x3 | Converted value. |
explicit operator float3x3(float3x)
Explicitly converts a double3x3 matrix to a float3x3 matrix by componentwise conversion.
public static explicit operator float3x3(double3x3 v)
Parameters
double3x3 to convert to float3x3
Returns
Type | Description |
|---|---|
| float3x3 | Converted value. |
explicit operator float3x3(float3x)
Converts a float4x4 to a float3x3.
public static explicit operator float3x3(float4x4 f4x4)
Parameters
The float4x4 to convert to a float3x3.
Returns
Type | Description |
|---|---|
| float3x3 | The float3x3 constructed from the upper left 3x3 of the input float4x4 matrix. |