FRectangle

The location of the target area relative to the screen or window. If you do not set this parameter, the SDK selects the whole screen or window.

USTRUCT(BlueprintType)
struct FRectangle
{
	GENERATED_BODY()
public:
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|Rectangle")
	int x = 0;
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|Rectangle")
	int y = 0;
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|Rectangle")
	int width = 0;
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|Rectangle")
	int height = 0;
	FRectangle(){}
	FRectangle(const agora::rtc::Rectangle & AgoraData){
		x = AgoraData.x;
		y = AgoraData.y;
		width = AgoraData.width;
		height = AgoraData.height;
	}
	agora::rtc::Rectangle CreateAgoraData() const {
		agora::rtc::Rectangle AgoraData;
		AgoraData.x = x;
		AgoraData.y = y;
		AgoraData.width = width;
		AgoraData.height = height;
		return AgoraData;
	}
	void FreeAgoraData(agora::rtc::Rectangle& AgoraData) const {
	}
};

Attributes

x
The horizontal offset from the top-left corner.
y
The vertical offset from the top-left corner.
width
The width of the target area.
height
The height of the target area.