> 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/korean/development/api-reference/classes/fill.md).

# Fill

Fill : `OverlayBase`

## Overview

BasePart의 외형 전체를 색상으로 덧씌워 표시할 수 있는 인스턴스입니다.

Outline과 달리, DepthMode 속성을 통해 다른 물체에 의해 가려진 상황에서도 표시 여부를 세밀하게 제어할 수 있습니다.

캐릭터 모델 하위에 추가된 Outline 및 Fill 효과는 ActionSequence 연출 객체에 불필요하게 적용되지 않도록 Humanoid의 ActionRunner 하위 객체에는 적용되지 않습니다. 이 규칙은 ActionSequence 실행으로 복제된 객체와 스크립트로 ActionRunner에 동적으로 추가된 객체에 동일하게 적용됩니다. 단, ActionSequence 하위 객체에 Outline 또는 Fill 효과를 직접 추가한 경우에는 해당 효과가 적용됩니다.

## Properties

### Color

`Color3`

표시할 색상입니다.

#### Code Samples

```lua
local Fill = script.Parent

Fill.Color = Color3.fromRGB(0, 0, 255)
```

### DepthMode

`Enum.FillDepthModeType`

다른 물체에 의해 가려졌을 때 어떻게 표시되는지를 결정합니다.

* `AlwaysOnTop`: 가려짐 여부와 상관없이 항상 표시됩니다.
* `VisibleWhenNotOccluded`: 객체가 다른 물체에 가려지지 않은 경우에만 표시됩니다.
* `VisibleWhenOccluded`: 객체가 다른 물체에 의해 가려졌을 때만 표시됩니다.

#### Code Samples

```lua
local Fill = script.Parent

Fill.DepthMode = Enum.FillDepthModeType.VisibleWhenNotOccluded
```

### Transparency

`number`

색상의 투명도입니다.

#### Code Samples

```lua
local Fill = script.Parent

Fill.Transparency = 0.5
```

## Methods

## Events

## See also

{% content-ref url="/pages/jN1xHUc2DR9TFmM5zMru" %}
[Outline/Fill](/korean/manual/studio-manual/object/outline-fill.md)
{% endcontent-ref %}
