FVideoDimensions
视频尺寸。
C++
USTRUCT(BlueprintType)
struct FVideoDimensions {
GENERATED_BODY()
public:
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FVideoDimensions")
int width = 640;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FVideoDimensions")
int height = 480;
FVideoDimensions(){}
FVideoDimensions(const agora::rtc::VideoDimensions & AgoraData){
width = AgoraData.width;
height = AgoraData.height;
}
agora::rtc::VideoDimensions CreateAgoraData() const{
agora::rtc::VideoDimensions AgoraData;
AgoraData.width = width;
AgoraData.height = height;
return AgoraData;
}
void FreeAgoraData(agora::rtc::VideoDimensions& AgoraData) const {
}
};
width
视频宽度,单位为像素。
height
视频高度,单位为像素。