# scaleMul(float3, float3x3)

> Matrix rows multiplied by scale components m.c0.x " s.x | m.c1.x " s.x | m.c2.x " s.x m.c0.y " s.y | m.c1.y " s.y | m.c2.y " s.y m.c0.z " s.z | m.c1.z " s.z | 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 scaleMul(float3 s, float3x3 m)
```

### Parameters

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

### Returns

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