# mulScale(float3x3, float3)

> Matrix columns multiplied by scale components m.c0.x " s.x | m.c1.x " s.y | m.c2.x " s.z m.c0.y " s.x | m.c1.y " s.y | m.c2.y " s.z m.c0.z " s.x | m.c1.z " s.y | m.c2.z * s.z

## Definition

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

```csharp
public static float3x3 mulScale(float3x3 m, float3 s)
```

### Parameters

**** (\[float3x3]\(/engine/6000.5/script-reference/unity/mathematics/float3x3)): Matrix to scale.**** (\[float3]\(/engine/6000.5/script-reference/unity/mathematics/float3)): Scaling coefficients for each column.

### Returns

| Type                                                                      | Description        |
| ------------------------------------------------------------------------- | ------------------ |
| [float3x3](/engine/6000.5/script-reference/unity/mathematics/float3x3.md) | The scaled matrix. |
