# MeshPart

MeshPart : `BasePart`

## Overview

BasePart를 기반으로 커스텀 메시를 표현하는 객체로, 해당 메시의 형태를 기반으로 물리 엔진에서 시뮬레이션됩니다.

MeshPart의 모양과 텍스처는 MeshId 속성과 TextureID 속성에 의해 설정됩니다.

## Properties

### DoubleSided

`boolean`

메시를 양면으로 렌더링할지 여부를 결정하는 속성입니다.

종이, 나뭇잎, 얇은 철판처럼 양쪽에서 모두 보여야 하는 경우, 이 속성을 true로 설정하면 메시의 앞·뒷면이 모두 렌더링되어 어느 방향에서 보더라도 표면이 표시됩니다.

단, 양면 렌더링은 GPU 부하를 증가시킬 수 있으므로 꼭 필요한 경우에만 사용하는 것이 좋습니다.

#### Code Samples

```lua
local MeshPart = script.Parent

print(MeshPart.DoubleSided)
```

### EnableMeshShadowDetails

`boolean`

MeshPart의 그림자 디테일 설정을 활성화할지 여부를 결정합니다.

이 옵션을 활성화하면 Lighting 서비스의 전역 설정이 아닌 해당 메쉬의 설정이 우선 적용됩니다.

#### Code Samples

### MeshId

`string`

MeshPart에 표현할 메쉬 에셋을 설정하는 속성입니다.

#### Code Samples

```lua
local MeshPart = script.Parent

print(MeshPart.MeshId)
```

### MeshShadowDetailLevel

`Enum.ShadowDetailLevel`

MeshPart의 그림자 디테일 수준을 지정합니다.

MeshShadowDetailLevel 값을 Original으로 설정하면 원본 메쉬 형태로 그림자가 정교하게 표현되고, Medium이나 Low로 설정하면 보다 단순한 형태로 표현됩니다.

#### Code Samples

### MeshSize

`Vector3`

메쉬의 원래 크기를 나타내는 속성입니다.

#### Code Samples

```lua
local MeshPart = script.Parent

print(MeshPart.MeshSize)
```

### TextureId

`string`

MeshPart에 표현할 텍스쳐 에셋을 설정하는 속성입니다.

#### Code Samples

```lua
local MeshPart = script.Parent

print(MeshPart.TextureId)
```

## Methods

## Events


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.overdare.com/korean/development/api-reference/classes/meshpart.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
