# implicit operator Vector3Int

> Converts an int3 to Vector3Int.

## Definition

* **Type:** Operator
* **Namespace:** [UnityEngine](/engine/6000.5/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

## implicit operator Vector3Int(Vector3In)

Converts an int3 to Vector3Int.

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

### Parameters

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

### Returns

| Type                                                                    | Description                      |
| ----------------------------------------------------------------------- | -------------------------------- |
| [Vector3Int](/engine/6000.5/script-reference/unityengine/vector3int.md) | The converted Vector3Int result. |

## implicit operator int3(int)

Converts a Vector3Int to int3.

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

### Parameters

**** (\[Vector3Int]\(/engine/6000.5/script-reference/unityengine/vector3int)): Vector3Int to convert.

### Returns

| Type                                                              | Description                |
| ----------------------------------------------------------------- | -------------------------- |
| [int3](/engine/6000.5/script-reference/unity/mathematics/int3.md) | The converted int3 result. |

## implicit operator Vector3(Vector)

Converts a [Vector3Int](/engine/6000.5/script-reference/unityengine/vector3int.md) to a [Vector3](/engine/6000.5/script-reference/unityengine/vector3.md).

```csharp
public static implicit operator Vector3(Vector3Int v)
```

### Parameters

**** (\[Vector3Int]\(/engine/6000.5/script-reference/unityengine/vector3int)): The Vector3Int to be converted to a Vector3.

### Returns

| Type                                                              | Description                   |
| ----------------------------------------------------------------- | ----------------------------- |
| [Vector3](/engine/6000.5/script-reference/unityengine/vector3.md) | The converted Vector3 result. |

### Remarks

An implicit conversion operator that converts an input [Vector3Int](/engine/6000.5/script-reference/unityengine/vector3int.md) value to a [Vector3](/engine/6000.5/script-reference/unityengine/vector3.md). The int components of the input are implicitly converted to floats when creating the result.

### Examples

```csharp
// Attach this script to a GameObject.
using UnityEngine;

public class Example : MonoBehaviour
{
    void Start()
    {
        Vector3Int a = new Vector3Int(4,5,6);
        Debug.Log("Input Vector3Int is: " + a.ToString());


        Vector3 result = a;
        Debug.Log("Result Vector3 is: " + result.ToString());
    }
}
```
