# Outline/Fill

## 개요

아바타나 물체가 멀리 있거나 다른 물체에 가려졌을 때 강조하는 도구로써 Outline과 Fill을 사용할 수 있습니다.

## 종류

<table><thead><tr><th width="123.33331298828125">오브젝트</th><th>설명</th></tr></thead><tbody><tr><td>Outline</td><td>BasePart에 외곽선을 표시합니다. Tickness 속성을 통해 두께를 조절할 수 있습니다. 물체가 멀리 있을 때 강조하기 위해 사용할 수 있습니다. Outline을 통해 그려지는 물체의 외곽선은 다른 물체에 가려질 수 있습니다.</td></tr><tr><td>Fill</td><td>BasePart의 외형대로 색을 채웁니다.<br>DepthMode 속성을 통해 항상 보이게 할 지, 가려지지 않았을 때만 보이게 할 지, 가려졌을 때만 보이게 할 지 설정할 수 있습니다. 물체가 가려졌을 때 힌트를 주기 위해 사용할 수 있습니다.</td></tr></tbody></table>

## Outline

Outline 오브젝트는 OVERDARE에서 특정 객체의 외곽선을 강조하는 데 사용됩니다. 상호작용 가능한 물체, 주요 목표물 강조 등 다양한 상황에서 유용합니다.

BasePart를 다수 포함하고 있는 Model 또는 Model로 이루어진 Nutty/아바타 Model의 경우 Model에 Outline을 생성하면 Model 내 모든 BasePart에 일괄 적용할 수 있습니다.

<div data-full-width="false"><figure><img src="/files/FRC1b0xpcOYM7G5woEnM" alt=""><figcaption></figcaption></figure></div>

### Outline의 속성

<table><thead><tr><th width="145.3333740234375">속성</th><th>설명</th></tr></thead><tbody><tr><td>Enabled</td><td>Outline 효과의 활성화 여부를 지정합니다.</td></tr><tr><td>Archivable</td><td>복제 가능 여부를 결정합니다.</td></tr><tr><td>Adornee</td><td>Outline 효과가 적용될 대상을 지정합니다.</td></tr><tr><td>Parent</td><td>Outline이 LevelBrowser 상의 위치를 지정합니다. 부모 오브젝트는 Outline 효과가 적용될 기본 대상이며, Adornee가 설정될 경우, Parent 여부와 관계 없이 Adornee로 설정된 오브젝트에 Outline이 적용됩니다.</td></tr><tr><td>Name</td><td>Outline 오브젝트의 이름을 지정합니다.</td></tr><tr><td>Color</td><td>Outline의 색상을 결정합니다.</td></tr><tr><td>Tickness</td><td><p>Outline의 두께를 지정합니다.</p><ul><li>기본값: 0.2</li><li>허용범위: 0.0 ~ 1.0</li></ul></td></tr></tbody></table>

### 스크립트 기능

```lua
local outline = Instance.new("Outline")
outline.Parent = workspace.TargetPart
outline.Color = Color3.new(1, 0, 0) -- 빨간색
outline.Tickness = 0.5
outline.Enabled = true
```

## Fill

Fill 오브젝트는 물체의 내부를 특정한 색상과 효과로 채우는 기능을 제공합니다. 캐릭터 상태 표현, 상호작용 피드백, 물체 강조 시 유용합니다.

BasePart를 다수 포함하고 있는 Model 또는 Model로 이루어진 Nutty/아바타 Model의 경우 Model에 Fill을 생성하면 Model 내 모든 BasePart에 일괄 적용할 수 있습니다.

<figure><img src="/files/o1d2CMVRYFAldxUuFvyA" alt=""><figcaption></figcaption></figure>

### Fill의 속성

<table><thead><tr><th width="142">속성</th><th>설명</th></tr></thead><tbody><tr><td>Enabled</td><td>Fill 효과 활성화 여부</td></tr><tr><td>Archivable</td><td>복제 가능 여부를 결정합니다.</td></tr><tr><td>Adornee</td><td>Fill 효과가 적용될 대상을 지정합니다.</td></tr><tr><td>Parent</td><td>Fill 오브젝트의 LevelBrowser 상의 위치를 지정합니다. 부모 오브젝트는 Fill 효과가 적용될 기본 대상이며, Adornee가 설정될 경우, Parent 여부와 관계 없이 Adornee로 설정된 오브젝트에 Fill이 적용됩니다.</td></tr><tr><td>Name</td><td>Fill 오브젝트의 이름을 지정합니다.</td></tr><tr><td>Color</td><td>Fill의 색상을 지정합니다.</td></tr><tr><td>Transparency</td><td><p>Fill의 투명도를 지정합니다.</p><ul><li>허용범위: 0.0 ~ 1.0</li></ul></td></tr><tr><td>DepthMode</td><td><p>객체의 Occluded(가림) 상태에 따른 Fill 표시 방식을 결정합니다. 다음 옵션이 존재합니다.</p><ul><li>AlwaysOnTop: 객체가 가려지든 말든 항상 표시됨</li><li>VisibleWhenNotOccluded: 객체가 가려지지 않은 상태에서만 표시됨</li><li>VisibleWhenOccluded: 객체가 다른 물체에 의해 가려졌을 때만 표시됨</li></ul></td></tr></tbody></table>

### DepthMode 상세 설명

Fill 오브젝트의 **DepthMode**는 객체가 다른 물체에 의해 가려졌는지 여부에 따라 표시 방식을 결정합니다.

* **AlwaysOnTop**

  물체가 다른 물체에 의해 가려지는지 여부와 관계없이, 항상 Fill을 화면의 최상단에 표시합니다.

  <figure><img src="/files/YAJm88mbfzaCWPAbjhZt" alt=""><figcaption></figcaption></figure>
* **VisibleWhenNotOccluded**

  물체가 다른 물체에 가려지지 않고 화면에 직접 보일 때만 Fill을 표시합니다.\
  즉, 시야에 명확히 들어올 때만 표시됩니다.

  <figure><img src="/files/CDN1n0QVgY9jrWIc2WTA" alt=""><figcaption></figcaption></figure>
* **VisibleWhenOccluded**

  물체가 다른 물체에 의해 가려졌을 때만 Fill을 표시합니다.\
  직접 보이는 상태에서는 Fill이 나타나지 않고, 가려진 상태에서만 강조 효과를 줍니다.

  <figure><img src="/files/5BHO6nHeykWTyFeJ3J32" alt=""><figcaption></figcaption></figure>

### 스크립트 기능

```lua
local fill = Instance.new("Fill")
fill.Parent = workspace.TargetPart
fill.Color = Color3.new(0, 1, 0) -- 녹색
fill.Transparency = 0.4
fill.DepthMode = Enum.FillDepthMode.VisibleWhenOccluded
fill.Enabled = true
```


---

# 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/manual/studio-manual/object/outline-fill.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.
