NERtc Unity SDK  V4.5.907
Public Attributes | List of all members
nertc.RtcImageWatermarkConfig Struct Reference

Public Attributes

string[] imagePaths
 
int offsetX
 
int offsetY
 
int imageWidth
 
int imageHeight
 
int fps
 
bool loop
 

Detailed Description

Sets the parameters for image watermarks.
You can add up to 4 picture watermarks.

Member Data Documentation

◆ imagePaths

string [] nertc.RtcImageWatermarkConfig.imagePaths

Watermark image path. The setting is invalid if left empty.

◆ offsetX

int nertc.RtcImageWatermarkConfig.offsetX

The horizontal distance between the upper left corner of the watermark and the upper left corner of the video canvas. Unit: pixels. The default value is 0.

◆ offsetY

int nertc.RtcImageWatermarkConfig.offsetY

The vertical distance between the upper left corner of the watermark and the upper left corner of the video canvas. Unit: pixels. The default value is 0.

◆ imageWidth

int nertc.RtcImageWatermarkConfig.imageWidth

The width of the watermark image. Unit: pixels. The default value is 0, which indicates that the width of the original image is applied.

◆ imageHeight

int nertc.RtcImageWatermarkConfig.imageHeight

The height of the watermark image. Unit: pixels. The default value is 0, which indicates that the height of the original image is applied.

◆ fps

int nertc.RtcImageWatermarkConfig.fps

The frame rate. The default value is 0 fps, which indicates that the images are not flipped automatically. Images are displayed in static single frames. Note: The frame rate for clients on Windows does not exceed 20 fps.

◆ loop

bool nertc.RtcImageWatermarkConfig.loop

Specifies whether to loop. By default, loop is enabled. If the value is set to false, the watermarks disappear when the playback is complete.


The documentation for this struct was generated from the following file: