//
//  ALAR3DCaptureView.h
//  GMAlpha
//
//  Created by Q14 on 2018/11/28.
//  Copyright © 2018 Gengmei. All rights reserved.
//
#import "Unre3DAR3DCaptureInfo.h"
#import "AR3DCapture.h"

@protocol ALCaptureViewDegelate
- (void) onCaputreClick;
- (BOOL) onCaptureFinish:(Unre3DAR3DCaptureInfo *)captureinfo;
- (void) onCaptureStateChangeOldState:(AR3DCAPTURESTATETYPE)oldstate andNewState:(AR3DCAPTURESTATETYPE) newstate;
@end

@interface ALAR3DCaptureView : GMView
@property(nonatomic,assign) BOOL debug;
@property(nonatomic,weak)id<ALCaptureViewDegelate> delegate;
///////////
- (void) viewWillAppear:(BOOL)animated;
- (void) viewDidAppear:(BOOL)animated;
- (void) viewDidDisappear:(BOOL)animated;
- (void) viewWillDisappear:(BOOL)animated;
/////////////////////////////////////////
- (BOOL) captureARKit;
- (BOOL) onCaptureFinish:(Unre3DAR3DCaptureInfo *)captureinfo;
- (void) onCaptureStateChangeOldState:(AR3DCAPTURESTATETYPE)oldstate andNewState:(AR3DCAPTURESTATETYPE) newstate;
@end
