![]() |
KudanAR - iOS
1.6.0
|
#import <ARCameraView.h>
Inherits ARView, and <ARCameraStreamEvent>.
Instance Methods | |
(void) | - pause |
(void) | - resume |
(void) | - didReceiveNewFrame:timeStamp: |
![]() | |
(UIImage *) | - screenshot |
(void) | - didRotateToInterfaceOrientation: |
(instancetype) | - initWithFrame:interfaceOrientation: |
![]() | |
(void) | - didReceiveNewFrameWithLuma:chroma:timeStamp: |
Properties | |
ARTexture * | cameraTexture |
ARCameraViewController * | cameraViewController |
ARViewPort * | cameraViewPort |
ARViewPort * | contentViewPort |
ARViewPort * | pointsViewPort |
![]() | |
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 the Y component of a YUV format image. It is possible to hook into this method and get the camera data in order to use it for other purposes.
data | The Y component of the incoming image, in YUV format. |
timeStamp | the time the frame was received. |
Reimplemented from <ARCameraStreamEvent>.
- (void) pause |
Pause rendering of the camera view.
- (void) resume |
Resume 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.