# BrickDefinition

> Class

Inheritance

* [object](https://learn.microsoft.com/dotnet/api/system.object)
* BrickDefinition

***

Inherited Members

* [Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\))

* [Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\))

* [GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode)

* [GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype)

* [MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone)

* [ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals)

* [ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

***

Namespace: UnityEngine.Pixyz.CAD

```csharp
[Serializable]
public class BrickDefinition
```

## Constructors

### BrickDefinition()

```csharp
public BrickDefinition()
```

### BrickDefinition(BrickDefinition)

```csharp
public BrickDefinition(BrickDefinition o)
```

Parameters

| Type                                     | Name | Description |
| ---------------------------------------- | ---- | ----------- |
| [BrickDefinition](./cad_brickdefinition) | o    |             |

## Fields

### type

```csharp
public BrickType type
```

Returns

| Type                         | Description |
| ---------------------------- | ----------- |
| [BrickType](./cad_bricktype) |             |

### length

```csharp
public int length
```

Returns

| Type                                                       | Description |
| ---------------------------------------------------------- | ----------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) |             |

### width

```csharp
public int width
```

Returns

| Type                                                       | Description |
| ---------------------------------------------------------- | ----------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) |             |

### fullHeight

```csharp
public bool fullHeight
```

Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) |             |
