# operator *

> Returns the result of a componentwise multiplication operation on two double3 vectors.

## Definition

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

## operator \*(double3, double3)

Returns the result of a componentwise multiplication operation on two double3 vectors.

```csharp
public static double3 operator *(double3 lhs, double3 rhs)
```

### Parameters

**** (\[double3]\(/engine/6000.5/script-reference/unity/mathematics/double3)): Left hand side double3 to use to compute componentwise multiplication.**** (\[double3]\(/engine/6000.5/script-reference/unity/mathematics/double3)): Right hand side double3 to use to compute componentwise multiplication.

### Returns

| Type                                                                    | Description                                         |
| ----------------------------------------------------------------------- | --------------------------------------------------- |
| [double3](/engine/6000.5/script-reference/unity/mathematics/double3.md) | double3 result of the componentwise multiplication. |

## operator \*(double3, double)

Returns the result of a componentwise multiplication operation on a double3 vector and a double value.

```csharp
public static double3 operator *(double3 lhs, double rhs)
```

### Parameters

**** (\[double3]\(/engine/6000.5/script-reference/unity/mathematics/double3)): Left hand side double3 to use to compute componentwise multiplication.**** (\[double]\(https\://learn.microsoft.com/dotnet/api/system.double)): Right hand side double to use to compute componentwise multiplication.

### Returns

| Type                                                                    | Description                                         |
| ----------------------------------------------------------------------- | --------------------------------------------------- |
| [double3](/engine/6000.5/script-reference/unity/mathematics/double3.md) | double3 result of the componentwise multiplication. |

## operator \*(double, double3)

Returns the result of a componentwise multiplication operation on a double value and a double3 vector.

```csharp
public static double3 operator *(double lhs, double3 rhs)
```

### Parameters

**** (\[double]\(https\://learn.microsoft.com/dotnet/api/system.double)): Left hand side double to use to compute componentwise multiplication.**** (\[double3]\(/engine/6000.5/script-reference/unity/mathematics/double3)): Right hand side double3 to use to compute componentwise multiplication.

### Returns

| Type                                                                    | Description                                         |
| ----------------------------------------------------------------------- | --------------------------------------------------- |
| [double3](/engine/6000.5/script-reference/unity/mathematics/double3.md) | double3 result of the componentwise multiplication. |
