implicit operator float3x3
Implicitly converts a single float value to a float3x3 matrix by assigning it to every component.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Operator
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
implicit operator float3x3(float3x)
Implicitly converts a single float value to a float3x3 matrix by assigning it to every component.
public static implicit operator float3x3(float v)
Parameters
float to convert to float3x3
Returns
Type | Description |
|---|---|
| float3x3 | Converted value. |
implicit operator float3x3(float3x)
Implicitly converts a single int value to a float3x3 matrix by converting it to float and assigning it to every component.
public static implicit operator float3x3(int v)
Parameters
int to convert to float3x3
Returns
Type | Description |
|---|---|
| float3x3 | Converted value. |
implicit operator float3x3(float3x)
Implicitly converts a int3x3 matrix to a float3x3 matrix by componentwise conversion.
public static implicit operator float3x3(int3x3 v)
Parameters
int3x3 to convert to float3x3
Returns
Type | Description |
|---|---|
| float3x3 | Converted value. |
implicit operator float3x3(float3x)
Implicitly converts a single uint value to a float3x3 matrix by converting it to float and assigning it to every component.
public static implicit operator float3x3(uint v)
Parameters
uint to convert to float3x3
Returns
Type | Description |
|---|---|
| float3x3 | Converted value. |
implicit operator float3x3(float3x)
Implicitly converts a uint3x3 matrix to a float3x3 matrix by componentwise conversion.
public static implicit operator float3x3(uint3x3 v)
Parameters
uint3x3 to convert to float3x3
Returns
Type | Description |
|---|---|
| float3x3 | Converted value. |