NERtc Unity SDK
V4.5.907
|
Public Attributes | |
string | content |
string | fontPath |
int | fontSize |
int | fontColor |
int | offsetX |
int | offsetY |
int | wmColor |
int | wmWidth |
int | wmHeight |
Parameters for text watermarks.
You can add up to 10 text watermarks.
string nertc.RtcTextWatermarkConfig.content |
The text content.
string nertc.RtcTextWatermarkConfig.fontPath |
The font path. If this setting is left empty, the default system font is used.
int nertc.RtcTextWatermarkConfig.fontSize |
The font size. The default value is 10, equivalent to 10 x 15 lb on a 144 dpi device.
int nertc.RtcTextWatermarkConfig.fontColor |
The font color. ARGB format.
int nertc.RtcTextWatermarkConfig.offsetX |
The horizontal distance between the upper left corner of the watermark and the upper left corner of the video canvas. Unit: pixels.
int nertc.RtcTextWatermarkConfig.offsetY |
The vertical distance between the upper left corner of the watermark and the upper left corner of the video canvas. Unit: pixels.
int nertc.RtcTextWatermarkConfig.wmColor |
The background color in the watermark frame. ARGB format. Transparency setting is supported.
int nertc.RtcTextWatermarkConfig.wmWidth |
The width of the watermark frame. Unit: pixels. The default value is 0, which indicates no watermark frame.
int nertc.RtcTextWatermarkConfig.wmHeight |
The height of the watermark frame. Unit: pixels. The default value is 0, which indicates no watermark frame.