Agora C++ API Reference for All Platforms

Public Member Functions | Public Attributes | List of all members
agora::rtc::VideoCompositingLayout::Region Struct Reference

## Public Member Functions
| Region ()

## Public Attributes
uid_t | uid
double | x
double | y
double | width
double | height
int | zOrder
double | alpha
media::base::RENDER_MODE_TYPE | renderMode

## Constructor & Destructor Documentation

## ◆ Region()

agora::rtc::VideoCompositingLayout::Region::Region | ( |  | ) |
| inline

## Member Data Documentation

## ◆ uid

uid_t agora::rtc::VideoCompositingLayout::Region::uid

User ID of the user whose video is to be displayed in the region.

## ◆ x

double agora::rtc::VideoCompositingLayout::Region::x

Horizontal position of the region on the screen.

## ◆ y

double agora::rtc::VideoCompositingLayout::Region::y

Vertical position of the region on the screen.

## ◆ width

double agora::rtc::VideoCompositingLayout::Region::width

Actual width of the region.

## ◆ height

double agora::rtc::VideoCompositingLayout::Region::height

Actual height of the region.

## ◆ zOrder

int agora::rtc::VideoCompositingLayout::Region::zOrder

0 means the region is at the bottom, and 100 means the region is at the top.

## ◆ alpha

double agora::rtc::VideoCompositingLayout::Region::alpha

0 means the region is transparent, and 1 means the region is opaque. The default value is 1.0.

## ◆ renderMode

media::base::RENDER_MODE_TYPE agora::rtc::VideoCompositingLayout::Region::renderMode