![]() |
KudanAR - iOS
|
#import <ARView.h>
Inheritance diagram for ARView:
Collaboration diagram for ARView:Instance Methods | |
| (UIImage *) | - screenshot |
| (void) | - didRotateToInterfaceOrientation: |
| (instancetype) | - initWithFrame:interfaceOrientation: |
Properties | |
| ARRenderTargetMain * | renderTarget |
An ARView encapsulates AR activities.
| - (instancetype) initWithFrame: | (CGRect) | frame | |
| interfaceOrientation: | (UIInterfaceOrientation) | orientation | |
Initialise a view with the given frame at the given interface orientation.
Example of use:
| frame | The frame for the view. |
| interfaceOrientation | The orientation at the time of creation. ARView needs to keep track of this to function properly. |
| - (UIImage *) screenshot |
Take a screenshot of the current render target. To use this method, it is recommended to use it via the ARCameraView in your ARCameraViewController.
Example of use:
|
readwritenonatomicassign |
The ARRenderTarget associated with this view.