# MeshDefinition

> Class

Inheritance

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

***

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.Polygonal

```csharp
[Serializable]
public class MeshDefinition
```

## Constructors

### MeshDefinition()

```csharp
public MeshDefinition()
```

### MeshDefinition(MeshDefinition)

```csharp
public MeshDefinition(MeshDefinition o)
```

Parameters

| Type                                         | Name | Description |
| -------------------------------------------- | ---- | ----------- |
| [MeshDefinition](./polygonal_meshdefinition) | o    |             |

## Fields

### id

```csharp
public uint id
```

Returns

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

### externalId

```csharp
public uint externalId
```

Returns

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

### vertices

```csharp
public Point3List vertices
```

Returns

| Type                            | Description |
| ------------------------------- | ----------- |
| [Point3List](./geom_point3list) |             |

### normals

```csharp
public Vector3List normals
```

Returns

| Type                              | Description |
| --------------------------------- | ----------- |
| [Vector3List](./geom_vector3list) |             |

### tangents

```csharp
public Vector4List tangents
```

Returns

| Type                              | Description |
| --------------------------------- | ----------- |
| [Vector4List](./geom_vector4list) |             |

### uvChannels

```csharp
public IntList uvChannels
```

Returns

| Type                      | Description |
| ------------------------- | ----------- |
| [IntList](./core_intlist) |             |

### uvs

```csharp
public Point2ListList uvs
```

Returns

| Type                                    | Description |
| --------------------------------------- | ----------- |
| [Point2ListList](./geom_point2listlist) |             |

### vertexColors

```csharp
public ColorAlphaList vertexColors
```

Returns

| Type                                    | Description |
| --------------------------------------- | ----------- |
| [ColorAlphaList](./core_coloralphalist) |             |

### curvatures

```csharp
public CurvaturesList curvatures
```

Returns

| Type                                    | Description |
| --------------------------------------- | ----------- |
| [CurvaturesList](./geom_curvatureslist) |             |

### triangles

```csharp
public IntList triangles
```

Returns

| Type                      | Description |
| ------------------------- | ----------- |
| [IntList](./core_intlist) |             |

### quadrangles

```csharp
public IntList quadrangles
```

Returns

| Type                      | Description |
| ------------------------- | ----------- |
| [IntList](./core_intlist) |             |

### vertexMerged

```csharp
public IntList vertexMerged
```

Returns

| Type                      | Description |
| ------------------------- | ----------- |
| [IntList](./core_intlist) |             |

### submeshes

```csharp
public SubmeshList submeshes
```

Returns

| Type                                   | Description |
| -------------------------------------- | ----------- |
| [SubmeshList](./polygonal_submeshlist) |             |

### linesVertices

```csharp
public Point3List linesVertices
```

Returns

| Type                            | Description |
| ------------------------------- | ----------- |
| [Point3List](./geom_point3list) |             |

### lines

```csharp
public StylizedLineList lines
```

Returns

| Type                                             | Description |
| ------------------------------------------------ | ----------- |
| [StylizedLineList](./polygonal_stylizedlinelist) |             |

### points

```csharp
public Point3List points
```

Returns

| Type                            | Description |
| ------------------------------- | ----------- |
| [Point3List](./geom_point3list) |             |

### pointsColors

```csharp
public Vector3List pointsColors
```

Returns

| Type                              | Description |
| --------------------------------- | ----------- |
| [Vector3List](./geom_vector3list) |             |

### joints

```csharp
public JointList joints
```

Returns

| Type                               | Description |
| ---------------------------------- | ----------- |
| [JointList](./polygonal_jointlist) |             |

### inverseBindMatrices

```csharp
public Matrix4List inverseBindMatrices
```

Returns

| Type                              | Description |
| --------------------------------- | ----------- |
| [Matrix4List](./geom_matrix4list) |             |

### jointWeights

```csharp
public Vector4List jointWeights
```

Returns

| Type                              | Description |
| --------------------------------- | ----------- |
| [Vector4List](./geom_vector4list) |             |

### jointIndices

```csharp
public Vector4IList jointIndices
```

Returns

| Type                                | Description |
| ----------------------------------- | ----------- |
| [Vector4IList](./geom_vector4ilist) |             |
