## 功能描述

**信息面板** ( InfoPanel ) 提供以面板形式展示图片、音视频等素材内容能力，其内置样式可被修改。

## 效果展示

![Vreo 信息面板中展示的图片内容](https://open.realsee.cn/assets/docs/vreo/info-panel.png)

## 使用说明

您可以在任何需要的时候使用信息面板功能。

如果您想自定义面板样式，需自行覆盖原有样式。

## 字段说明

```json title="信息面板帧剧本结构"
{
  "uuid": "94a3e6c6-096c-46b6-9713-5f635f679a04",
  "type": "InfoPanel",
  "start": 3783,
  "end": 6700,
  "parsed": false,
  "data": InfoPanelData
}
```

```ts title="信息面板数据说明"
// 面板内容类型
export enum InfoPanelTypeEnum {
  Image = "Image",
  Video = "Video",
}

// 面板出现动画
export enum InfoPanelStyleEnum {
  Drawer = "Drawer",
  PopUp = "PopUp",
}

export type InfoPanelData = {
  type: InfoPanelTypeEnum;
  style?: InfoPanelStyleEnum;
  url: string;
  title?: string; // 标题
  subTitle?: string; // 副标题
};
```

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