## 功能描述

您可以通过**空间文本** ( PanoTextLabel ) 在如视 3D 模型空间中的三维坐标点上放置文本。

## 效果展示

![锚定在 Vreo 三维空间坐标上的文本](https://open.realsee.cn/assets/docs/vreo/spatial-text.png)

## 使用说明

使用空间文本能力，需要您提供所要展示的文本内容，需要放置文本的三维坐标点位。

## 字段说明

```ts title="PanoTextLabelData 数据类型"
/**
 * 全景文本标签
 */
export type PanoTextLabelData = {
  text: string; // 空间内需要展示的文本内容。
  vertex: Vertex; //空间内展示文本的三维坐标点。
  fontSize?: number; //可选字段，设置文本字体大小，默认为 16px 。
};
```

```json title="空间文本类型数据样例"
{
  "uuid": "eb7b3d3e-5f13-423d-8270-c4bfa4201d0b",
  "type": "PanoTextLabel",
  "start": 71200,
  "end": 73200,
  "parsed": false,
  "data": {
    "text": "档位随烟量自动调节",
    "vertex": {
      "x": -2.1652547611365116,
      "y": 1.612348936240625,
      "z": -8.787925732476422
    },
    "fontSize": 14
  }
}
```

网页版本：https://open.realsee.cn/docs/vreo/keyframes/panotext
文档索引：https://open.realsee.cn/docs.md
