> For the complete documentation index, see [llms.txt](https://docs.overdare.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overdare.com/development/api-reference/classes/meshpart.md).

# MeshPart

MeshPart : `BasePart`

## Overview

This object represents a custom mesh based on BasePart, which is simulated in the physics engine based on the mesh's shape.

The MeshId and TextureID properties determines the shape and texture of MeshPart

## Properties

### DoubleSided

`boolean`

This property determines whether the mesh is rendered on both faces.

For cases like paper, leaves, or thin metal plates that need to be visible from both sides, setting this property to true renders both the front and back faces of the mesh, ensuring the surface is visible from any direction.

However, as double-sided rendering can increase load on GPU, it should only be used when necessary.

#### Code Samples

```lua
local MeshPart = script.Parent

print(MeshPart.DoubleSided)
```

### EnableMeshShadowDetails

`boolean`

Determines whether to enable the shadow detail setting for the MeshPart.

When this option is enabled, the mesh's individual setting takes priority over the Lighting service's global setting.

#### Code Samples

### MeshId

`string`

This property sets the mesh asset to be displayed on the MeshPart.

#### Code Samples

```lua
local MeshPart = script.Parent

print(MeshPart.MeshId)
```

### MeshShadowDetailLevel

`Enum.ShadowDetailLevel`

Setting the shadow detail level of the MeshPart.

If the value of MeshShadowDetailLevel is set to Original, it render shadows with precise detail matching the original mesh shape. Medium or Low settings render shadows in simpler forms.

#### Code Samples

### MeshSize

`Vector3`

This property indicates the original size of the mesh.

#### Code Samples

```lua
local MeshPart = script.Parent

print(MeshPart.MeshSize)
```

### TextureId

`string`

This property sets the texture asset to be displayed on the MeshPart.

#### Code Samples

```lua
local MeshPart = script.Parent

print(MeshPart.TextureId)
```

## Methods

## Events
