# 場景效能檢視 (Performance)

在建立場景的過程中，請切記隨時檢查當前效能 (Performance)，效能共有三種狀態：<mark style="color:green;">**Great**</mark>、<mark style="color:yellow;">**Medium**</mark>、<mark style="color:red;">**Bad**</mark>，如果效能不佳，可能會導致場景在電腦或手機上顯示會有卡頓或無法載入的情況。

\
而影響效能的因素有三大數值：每秒顯示幀數 (FPS)、物件數量 (Object count)、面數 (Faces)。其中 <mark style="color:blue;">**面數 (Faces)**</mark> 的影響最大，因此建議整個場景的物件面數要控制在  <mark style="color:blue;">**< 10萬面**</mark> 。

<mark style="color:green;">**狀態 1 - Great**</mark>：效能良好、流暢。

<figure><img src="/files/0gjbLgAlEZRab4qESW30" alt=""><figcaption></figcaption></figure>

<mark style="color:yellow;">**狀態 2 -**</mark> <mark style="color:yellow;">**Medium**</mark>：當增加的 3D 物件有點多時，效能就會開始往下降。

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

<mark style="color:red;">**狀態 3 -**</mark> <mark style="color:red;">**Bad**</mark>：當場景的 3D 物件數量已經過量時，效能便會直接降至紅色的 Bad 狀態，建議此時需刪除多餘的物件，或替換成低面數物件，避免場景發生當機或卡頓的情況。

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


---

# 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://hei-dong-chuang-zao.gitbook.io/virsody-guide/zi-you-bian-ji-mo-shi/wu-jian-jie-ceng-hierarchy/chang-jing-xiao-neng-jian-shi-performance.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.
