implicit operator double4x4
Implicitly converts a single double value to a double4x4 matrix by assigning it to every component.
Read time 2 minutesLast updated 4 days ago
Definition
- Type: Operator
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
implicit operator double4x4(double4x)
Implicitly converts a single double value to a double4x4 matrix by assigning it to every component.
public static implicit operator double4x4(double v)
Parameters
double to convert to double4x4
Returns
Type | Description |
|---|---|
| double4x4 | Converted value. |
implicit operator double4x4(double4x)
Implicitly converts a single int value to a double4x4 matrix by converting it to double and assigning it to every component.
public static implicit operator double4x4(int v)
Parameters
int to convert to double4x4
Returns
Type | Description |
|---|---|
| double4x4 | Converted value. |
implicit operator double4x4(double4x)
Implicitly converts a int4x4 matrix to a double4x4 matrix by componentwise conversion.
public static implicit operator double4x4(int4x4 v)
Parameters
int4x4 to convert to double4x4
Returns
Type | Description |
|---|---|
| double4x4 | Converted value. |
implicit operator double4x4(double4x)
Implicitly converts a single uint value to a double4x4 matrix by converting it to double and assigning it to every component.
public static implicit operator double4x4(uint v)
Parameters
uint to convert to double4x4
Returns
Type | Description |
|---|---|
| double4x4 | Converted value. |
implicit operator double4x4(double4x)
Implicitly converts a uint4x4 matrix to a double4x4 matrix by componentwise conversion.
public static implicit operator double4x4(uint4x4 v)
Parameters
uint4x4 to convert to double4x4
Returns
Type | Description |
|---|---|
| double4x4 | Converted value. |
implicit operator double4x4(double4x)
Implicitly converts a single float value to a double4x4 matrix by converting it to double and assigning it to every component.
public static implicit operator double4x4(float v)
Parameters
float to convert to double4x4
Returns
Type | Description |
|---|---|
| double4x4 | Converted value. |
implicit operator double4x4(double4x)
Implicitly converts a float4x4 matrix to a double4x4 matrix by componentwise conversion.
public static implicit operator double4x4(float4x4 v)
Parameters
float4x4 to convert to double4x4
Returns
Type | Description |
|---|---|
| double4x4 | Converted value. |