NERtc Unity SDK  V5.4.5
Public 属性 | 所有成员列表
nertc.RtcVideoCorrectionConfiguration结构体 参考

Public 属性

RtcPoint topLeft
 
RtcPoint topRight
 
RtcPoint bottomLeft
 
RtcPoint bottomRight
 
float canvasWidth
 
float canvasHeight
 
bool enableMirror
 

详细描述

视频图像畸变矫正相关设置。

类成员变量说明

◆ topLeft

RtcPoint nertc.RtcVideoCorrectionConfiguration.topLeft

矫正区域的左上顶点(x 和 y 的取值范围为 0 ~ 1 的浮点数)

◆ topRight

RtcPoint nertc.RtcVideoCorrectionConfiguration.topRight

矫正区域的右上顶点(x 和 y 的取值范围为 0 ~ 1 的浮点数)

◆ bottomLeft

RtcPoint nertc.RtcVideoCorrectionConfiguration.bottomLeft

矫正区域的左下顶点(x 和 y 的取值范围为 0 ~ 1 的浮点数)

◆ bottomRight

RtcPoint nertc.RtcVideoCorrectionConfiguration.bottomRight

矫正区域的右下顶点(x 和 y 的取值范围为 0 ~ 1 的浮点数)

◆ canvasWidth

float nertc.RtcVideoCorrectionConfiguration.canvasWidth

画布宽度(单位 px,使用外部视频渲染时需要传递)

◆ canvasHeight

float nertc.RtcVideoCorrectionConfiguration.canvasHeight

画布高度(单位 px,使用外部视频渲染时需要传递)

◆ enableMirror

bool nertc.RtcVideoCorrectionConfiguration.enableMirror

是否镜像显示(使用外部视频渲染时需要传递)


该结构体的文档由以下文件生成: