> For the complete documentation index, see [llms.txt](https://docs.convai.com/api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/convai-unity-sdk/embodiment/emotion/emotion-editor.md). Agents can also search and read this documentation through its [MCP server](https://docs.convai.com/api-docs/~gitbook/mcp).

# 情绪编辑器窗口

情绪编辑器窗口参考，涵盖其四个选项卡以及从“实时”选项卡打开的情绪时间线记录器。

`Convai > Emotion Editor` 会打开一个专用于 Emotion 的工作区，功能范围比同一角色的 Inspector 更广。你可以通过组件检查器中的 **高级设置和表情 →** 链接打开，也可以直接从菜单打开。本页介绍其中的四个选项卡，以及从 Live 选项卡打开的 Emotion Timeline 窗口。

***

### 打开窗口

`Convai > Emotion Editor` (`ConvaiEmotionEditorWindow`，窗口标题为 **Convai Emotions**）会打开该窗口，并自动显示场景中当前选中的 `ConvaiEmotionController` ；如果没有选中，则显示找到的第一个。组件检查器中的 **高级设置和表情 →** 链接会打开同一窗口，并自动定位到该角色。打开此窗口并非必需步骤——常见的设置流程可直接在 Inspector 中完成；此窗口则提供其中无法容纳的所有功能。

左侧窗格会列出所有位于已打开场景中的 `ConvaiEmotionController` ，并以状态圆点标示其状态： **就绪**, **需要处理**或 **尚未设置** ——因此，无需在 Hierarchy 中逐一查找，就能检查场景中的所有角色。

***

### 四个选项卡

| 选项卡    | 显示内容                                                                           |
| ------ | ------------------------------------------------------------------------------ |
| **设置** | 与 Inspector 中显示的设置检查清单相同，但占据整个窗口宽度，并列出每项检查结果及其修复方法。                            |
| **感受** | 已分配的 `ConvaiEmotionProfile`中的所有设置，按类别分组——这里提供了完整的设置界面，而 Inspector 只显示其中少数几个控件。 |
| **表情** | Convai 在角色自身面部上识别到的内容——命名约定、匹配置信度及每个网格体的形状数量——以及创作的表情配方和材质效果。                  |
| **实时** | 角色当前的感受、强度、持续时间、静息情绪、嘴部影响，以及每种非零情绪对应的进度条。仅在 Play 模式下可用。                        |

如果角色未分配 `ConvaiEmotionProfile` ，则会在 **感受** 中显示 **未分配个性** 消息，并在 **表情** 中显示相应提示，而不是空字段，因为目前该角色还没有可调整的设置。

***

### Emotion Timeline 窗口

点击 **打开 Emotion Timeline** 按钮（位于 **实时** 选项卡中）可打开 `ConvaiEmotionTimelineWindow` （窗口标题为 **Emotion Timeline**）已经在情绪编辑器窗口中监视所选角色。它没有自己的菜单项——只有在选定角色后，时间线才有意义，而「实时」选项卡已完成了这一步。

时间线会绘制 Play 模式下录制的单个角色情绪随时间变化情况：每个分类标签的输出分数各显示为一条线，静息情绪分数则以单独的醒目线条显示，并在每次触发 `DominantEmotionChanged` 或 `MoodChanged` 时绘制垂直标记。指定目标后：

| 操作     | 功能                        |
| ------ | ------------------------- |
| **开始** | 开始录制。仅在 Play 模式且已指定目标时可用。 |
| **停止** | 结束捕获，但不丢弃录制内容。            |
| **清除** | 清空图表。                     |

样本以固定采样间隔从目标公开的 `Current` 读数中获取——录制器绝不会直接访问逐帧运行时状态。你可以通过时间线直观地调整角色的气质，也可以在事后调试反馈“情绪感觉不对”的情况。

{% hint style="info" %}
时间线是仅供编辑器使用的工具。它没有运行时 API，也不会改变角色在构建版本中的行为。
{% endhint %}

***

### 后续步骤

{% content-ref url="/pages/a169ddd3c944e6f42f2701922ad7b55a03ac789a" %}
[情绪系统的工作原理](https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/convai-unity-sdk/embodiment/emotion/how-the-emotion-system-works.md)
{% endcontent-ref %}

{% content-ref url="/pages/e4e5139a33824d66acc5af79e26ea948910fdcd0" %}
[情绪快速入门](https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/convai-unity-sdk/embodiment/emotion/quick-start.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/convai-unity-sdk/embodiment/emotion/emotion-editor.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
