![]() |
KudanAR - iOS
|
#import <ARCameraView.h>
Inheritance diagram for ARCameraView:
Collaboration diagram for ARCameraView:Instance Methods | |
| (void) | - pause |
| (void) | - resume |
| (void) | - didReceiveNewFrame:timeStamp: |
Instance Methods inherited from ARView | |
| (UIImage *) | - screenshot |
| (void) | - didRotateToInterfaceOrientation: |
| (instancetype) | - initWithFrame:interfaceOrientation: |
Instance Methods inherited from <ARCameraStreamEvent> | |
| (void) | - didReceiveNewFrameWithLuma:chroma:timeStamp: |
Properties | |
| ARTexture * | cameraTexture |
| ARCameraViewController * | cameraViewController |
| ARViewPort * | cameraViewPort |
| ARViewPort * | contentViewPort |
| ARViewPort * | pointsViewPort |
Properties inherited from ARView | |
| ARRenderTargetMain * | renderTarget |
An ARCameraView is a subclass of ARView that contains viewports for the automatic rendering of the camera image, content and point clouds.
| - (void) didReceiveNewFrame: | (NSData *) | data | |
| timeStamp: | (NSTimeInterval) | timeStamp | |
Method called when a new camera frame is received. Image data is in the YUV format. The first WxH bytes of this data will be the greyscale image. It is possible to hook into this method and get the camera data in order to use it for other purposes.
| data | The data in greyscale. |
| timeStamp | the time the frame was received. |
Reimplemented from <ARCameraStreamEvent>.
| - (void) pause |
Resume rendering of the camera view.
| - (void) resume |
Pause rendering of the camera view.
|
readwritenonatomicassign |
The camera texture that the camera stream is drawing to. Essentially, this is the camera feed seen whilst running an AR scene.
|
readwritenonatomicweak |
The ARCameraViewController that contains this view.
|
readwritenonatomicassign |
The viewport responsible for displaying the camera feed. This has an orthographic projection.
|
readwritenonatomicassign |
The viewport responsible for displaying any AR content, such as images, videos or 3D models, on top of the camera feed. This has a perspective projection.