# implicit operator double3

> Implicitly converts a single double value to a double3 vector by assigning it to every component.

## Definition

* **Type:** Operator
* **Namespace:** [Unity.Mathematics](/engine/6000.6/script-reference/unity/mathematics.md)
* **Assembly:** UnityEngine.MathematicsModule

## implicit operator double3(double)

Implicitly converts a single double value to a double3 vector by assigning it to every component.

```csharp
public static implicit operator double3(double v)
```

### Parameters

**** (\[double]\(https\://learn.microsoft.com/dotnet/api/system.double)): double to convert to double3

### Returns

| Type                                                                    | Description      |
| ----------------------------------------------------------------------- | ---------------- |
| [double3](/engine/6000.6/script-reference/unity/mathematics/double3.md) | Converted value. |

## implicit operator double3(double)

Implicitly converts a single int value to a double3 vector by converting it to double and assigning it to every component.

```csharp
public static implicit operator double3(int v)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): int to convert to double3

### Returns

| Type                                                                    | Description      |
| ----------------------------------------------------------------------- | ---------------- |
| [double3](/engine/6000.6/script-reference/unity/mathematics/double3.md) | Converted value. |

## implicit operator double3(double)

Implicitly converts a int3 vector to a double3 vector by componentwise conversion.

```csharp
public static implicit operator double3(int3 v)
```

### Parameters

**** (\[int3]\(/engine/6000.6/script-reference/unity/mathematics/int3)): int3 to convert to double3

### Returns

| Type                                                                    | Description      |
| ----------------------------------------------------------------------- | ---------------- |
| [double3](/engine/6000.6/script-reference/unity/mathematics/double3.md) | Converted value. |

## implicit operator double3(double)

Implicitly converts a single uint value to a double3 vector by converting it to double and assigning it to every component.

```csharp
public static implicit operator double3(uint v)
```

### Parameters

**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): uint to convert to double3

### Returns

| Type                                                                    | Description      |
| ----------------------------------------------------------------------- | ---------------- |
| [double3](/engine/6000.6/script-reference/unity/mathematics/double3.md) | Converted value. |

## implicit operator double3(double)

Implicitly converts a uint3 vector to a double3 vector by componentwise conversion.

```csharp
public static implicit operator double3(uint3 v)
```

### Parameters

**** (\[uint3]\(/engine/6000.6/script-reference/unity/mathematics/uint3)): uint3 to convert to double3

### Returns

| Type                                                                    | Description      |
| ----------------------------------------------------------------------- | ---------------- |
| [double3](/engine/6000.6/script-reference/unity/mathematics/double3.md) | Converted value. |

## implicit operator double3(double)

Implicitly converts a single half value to a double3 vector by converting it to double and assigning it to every component.

```csharp
public static implicit operator double3(half v)
```

### Parameters

**** (\[half]\(/engine/6000.6/script-reference/unity/mathematics/half)): half to convert to double3

### Returns

| Type                                                                    | Description      |
| ----------------------------------------------------------------------- | ---------------- |
| [double3](/engine/6000.6/script-reference/unity/mathematics/double3.md) | Converted value. |

## implicit operator double3(double)

Implicitly converts a half3 vector to a double3 vector by componentwise conversion.

```csharp
public static implicit operator double3(half3 v)
```

### Parameters

**** (\[half3]\(/engine/6000.6/script-reference/unity/mathematics/half3)): half3 to convert to double3

### Returns

| Type                                                                    | Description      |
| ----------------------------------------------------------------------- | ---------------- |
| [double3](/engine/6000.6/script-reference/unity/mathematics/double3.md) | Converted value. |

## implicit operator double3(double)

Implicitly converts a single float value to a double3 vector by converting it to double and assigning it to every component.

```csharp
public static implicit operator double3(float v)
```

### Parameters

**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): float to convert to double3

### Returns

| Type                                                                    | Description      |
| ----------------------------------------------------------------------- | ---------------- |
| [double3](/engine/6000.6/script-reference/unity/mathematics/double3.md) | Converted value. |

## implicit operator double3(double)

Implicitly converts a float3 vector to a double3 vector by componentwise conversion.

```csharp
public static implicit operator double3(float3 v)
```

### Parameters

**** (\[float3]\(/engine/6000.6/script-reference/unity/mathematics/float3)): float3 to convert to double3

### Returns

| Type                                                                    | Description      |
| ----------------------------------------------------------------------- | ---------------- |
| [double3](/engine/6000.6/script-reference/unity/mathematics/double3.md) | Converted value. |
