# float3x3

> Constructs a float3x3 matrix from three float3 vectors.

## Definition

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

## float3x3(float3, float3, float3)

Constructs a float3x3 matrix from three float3 vectors.

```csharp
public float3x3(float3 c0, float3 c1, float3 c2)
```

### Parameters

**** (\[float3]\(/engine/6000.6/script-reference/unity/mathematics/float3)): The matrix column c0 will be set to this value.**** (\[float3]\(/engine/6000.6/script-reference/unity/mathematics/float3)): The matrix column c1 will be set to this value.**** (\[float3]\(/engine/6000.6/script-reference/unity/mathematics/float3)): The matrix column c2 will be set to this value.

## float3x3(float, float, float, float, float, float, float, float, float)

Constructs a float3x3 matrix from 9 float values given in row-major order.

```csharp
public float3x3(float m00, float m01, float m02, float m10, float m11, float m12, float m20, float m21, float m22)
```

### Parameters

**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The matrix at row 0, column 0 will be set to this value.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The matrix at row 0, column 1 will be set to this value.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The matrix at row 0, column 2 will be set to this value.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The matrix at row 1, column 0 will be set to this value.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The matrix at row 1, column 1 will be set to this value.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The matrix at row 1, column 2 will be set to this value.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The matrix at row 2, column 0 will be set to this value.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The matrix at row 2, column 1 will be set to this value.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): The matrix at row 2, column 2 will be set to this value.

## float3x3(float)

Constructs a float3x3 matrix from a single float value by assigning it to every component.

```csharp
public float3x3(float v)
```

### Parameters

**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): float to convert to float3x3

## float3x3(bool)

Constructs a float3x3 matrix from a single bool value by converting it to float and assigning it to every component.

```csharp
public float3x3(bool v)
```

### Parameters

**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): bool to convert to float3x3

## float3x3(bool3x3)

Constructs a float3x3 matrix from a bool3x3 matrix by componentwise conversion.

```csharp
public float3x3(bool3x3 v)
```

### Parameters

**** (\[bool3x3]\(/engine/6000.6/script-reference/unity/mathematics/bool3x3)): bool3x3 to convert to float3x3

## float3x3(int)

Constructs a float3x3 matrix from a single int value by converting it to float and assigning it to every component.

```csharp
public float3x3(int v)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): int to convert to float3x3

## float3x3(int3x3)

Constructs a float3x3 matrix from a int3x3 matrix by componentwise conversion.

```csharp
public float3x3(int3x3 v)
```

### Parameters

**** (\[int3x3]\(/engine/6000.6/script-reference/unity/mathematics/int3x3)): int3x3 to convert to float3x3

## float3x3(uint)

Constructs a float3x3 matrix from a single uint value by converting it to float and assigning it to every component.

```csharp
public float3x3(uint v)
```

### Parameters

**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): uint to convert to float3x3

## float3x3(uint3x3)

Constructs a float3x3 matrix from a uint3x3 matrix by componentwise conversion.

```csharp
public float3x3(uint3x3 v)
```

### Parameters

**** (\[uint3x3]\(/engine/6000.6/script-reference/unity/mathematics/uint3x3)): uint3x3 to convert to float3x3

## float3x3(double)

Constructs a float3x3 matrix from a single double value by converting it to float and assigning it to every component.

```csharp
public float3x3(double v)
```

### Parameters

**** (\[double]\(https\://learn.microsoft.com/dotnet/api/system.double)): double to convert to float3x3

## float3x3(double3x3)

Constructs a float3x3 matrix from a double3x3 matrix by componentwise conversion.

```csharp
public float3x3(double3x3 v)
```

### Parameters

**** (\[double3x3]\(/engine/6000.6/script-reference/unity/mathematics/double3x3)): double3x3 to convert to float3x3

## float3x3(float4x4)

Constructs a float3x3 from the upper left 3x3 of a float4x4.

```csharp
public float3x3(float4x4 f4x4)
```

### Parameters

**** (\[float4x4]\(/engine/6000.6/script-reference/unity/mathematics/float4x4)): [float4x4](/engine/6000.6/script-reference/unity/mathematics/float4x4.md) to extract a float3x3 from.

## float3x3(quaternion)

Constructs a float3x3 matrix from a unit quaternion.

```csharp
public float3x3(quaternion q)
```

### Parameters

**** (\[quaternion]\(/engine/6000.6/script-reference/unity/mathematics/quaternion)): The quaternion rotation.
