12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- //
- // FURenderViewController.h
- // FULiveDemo
- //
- // Created by 项林平 on 2022/7/19.
- // Copyright © 2022 FaceUnity. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- #import <AVFoundation/AVFoundation.h>
- #import <FURenderKit/FURenderKit.h>
- #import <FURenderKit/FUVideoComponentDefines.h>
- #import "FUBeautyComponent.h"
- #import <Masonry/Masonry.h>
- #import "FUHeadButtonView.h"
- #import "FUCaptureButton.h"
- #import "FURenderViewModel.h"
- #import "FUTipHUD.h"
- #import "WHTheme.h"
- NS_ASSUME_NONNULL_BEGIN
- @interface FURenderViewController : UIViewController<FURenderViewModelDelegate, FUHeadButtonViewDelegate, FUCaptureButtonDelegate>
- /// 渲染视图
- @property (nonatomic, strong, readonly) FUGLDisplayView *renderView;
- /// 顶部功能视图
- @property (nonatomic, strong, readonly) FUHeadButtonView *headButtonView;
- /// 魔法棒 打开美颜设置
- @property (nonatomic, strong) UIButton *magicStickBtn;
- /// 人脸/人体/手势检测提示标签
- @property (nonatomic, strong, readonly) UILabel *noTrackLabel;
- /// 额外操作提示标签
- @property (nonatomic, strong, readonly) UILabel *tipLabel;
- @property (nonatomic, strong, readonly) FURenderViewModel *viewModel;
- - (instancetype)initWithViewModel:(FURenderViewModel *)viewModel;
- // 切换前置/后置摄像头
- - (void)chileHeadButtonViewSwitchAction:(UIButton *)btn;
- - (void)showSheetView;
- @end
- NS_ASSUME_NONNULL_END
|