# Scale

> Multiplies two vectors component-wise.

## Definition

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

## Scale(Vector3Int, Vector3Int)

Multiplies two vectors component-wise.

```csharp
public static Vector3Int Scale(Vector3Int a, Vector3Int b)
```

### Parameters

**** (\[Vector3Int]\(/engine/6000.7/script-reference/unityengine/vector3int)): The first vector to multiply.**** (\[Vector3Int]\(/engine/6000.7/script-reference/unityengine/vector3int)): The second vector to multiply.

### Returns

| Type                                                                    | Description                                                 |
| ----------------------------------------------------------------------- | ----------------------------------------------------------- |
| [Vector3Int](/engine/6000.7/script-reference/unityengine/vector3int.md) | A component of `a` multiplied by the same component of `b`. |

### Remarks

Every component in the result is a component of `a` multiplied by the same component of `b`.

## Scale(Vector3Int, Vector3Int)

Multiplies two vectors component-wise.

```csharp
public static Vector3Int Scale(in Vector3Int a, in Vector3Int b)
```

### Parameters

**** (\[Vector3Int]\(/engine/6000.7/script-reference/unityengine/vector3int)): The first vector to multiply.**** (\[Vector3Int]\(/engine/6000.7/script-reference/unityengine/vector3int)): The second vector to multiply.

### Returns

| Type                                                                    | Description                                                 |
| ----------------------------------------------------------------------- | ----------------------------------------------------------- |
| [Vector3Int](/engine/6000.7/script-reference/unityengine/vector3int.md) | A component of `a` multiplied by the same component of `b`. |

### Remarks

Every component in the result is a component of `a` multiplied by the same component of `b`.

## Scale(Vector3Int)

Multiplies every component of this vector by the same component of `scale`.

```csharp
public void Scale(Vector3Int scale)
```

### Parameters

**** (\[Vector3Int]\(/engine/6000.7/script-reference/unityengine/vector3int)): The vector to multiply by.

## Scale(Vector3Int)

Multiplies every component of this vector by the same component of `scale`.

```csharp
public void Scale(in Vector3Int scale)
```

### Parameters

**** (\[Vector3Int]\(/engine/6000.7/script-reference/unityengine/vector3int)): The vector to multiply by.
