# bool3x3

> Returns a bool3x3 matrix constructed from three bool3 vectors.

## Definition

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

## bool3x3(bool3, bool3, bool3)

Returns a bool3x3 matrix constructed from three bool3 vectors.

```csharp
public static bool3x3 bool3x3(bool3 c0, bool3 c1, bool3 c2)
```

### Parameters

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

### Returns

| Type                                                                    | Description                         |
| ----------------------------------------------------------------------- | ----------------------------------- |
| [bool3x3](/engine/6000.5/script-reference/unity/mathematics/bool3x3.md) | bool3x3 constructed from arguments. |

## bool3x3(bool, bool, bool, bool, bool, bool, bool, bool, bool)

Returns a bool3x3 matrix constructed from from 9 bool values given in row-major order.

```csharp
public static bool3x3 bool3x3(bool m00, bool m01, bool m02, bool m10, bool m11, bool m12, bool m20, bool m21, bool m22)
```

### Parameters

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

### Returns

| Type                                                                    | Description                         |
| ----------------------------------------------------------------------- | ----------------------------------- |
| [bool3x3](/engine/6000.5/script-reference/unity/mathematics/bool3x3.md) | bool3x3 constructed from arguments. |

## bool3x3(bool)

Returns a bool3x3 matrix constructed from a single bool value by assigning it to every component.

```csharp
public static bool3x3 bool3x3(bool v)
```

### Parameters

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

### Returns

| Type                                                                    | Description      |
| ----------------------------------------------------------------------- | ---------------- |
| [bool3x3](/engine/6000.5/script-reference/unity/mathematics/bool3x3.md) | Converted value. |
