![]() |
KudanAR - iOS
1.6.0
|
#import <ARRenderTargetMain.h>
Inherits ARRenderTarget.
Instance Methods | |
(instancetype) | - initWithView: |
(void) | - didReceiveTouch: |
![]() | |
(instancetype) | - initWithWidth:height: |
(void) | - addViewPort: |
(void) | - addViewPort:zOrder: |
(void) | - removeViewPort: |
(void) | - clearViewPorts |
(ARViewPort *) | - createDefaultViewPort |
(void) | - addDelegate: |
(UIImage *) | - screenshot |
(BOOL) | - checkFBO |
(void) | - bindBuffer |
(void) | - bindCaptureBuffer |
(void) | - draw |
(void) | - drawForCapture |
Properties | |
UIView * | view |
BOOL | isRetina |
![]() | |
NSArray * | viewPorts |
NSUInteger | numberOfViewPorts |
float | width |
float | height |
NSArray * | delegates |
NSInteger | priority |
BOOL | hasDepth |
BOOL | hasStencil |
BOOL | manualDraw |
NSDictionary * | captureColourToNode |
BOOL | touchEventReceived |
CGPoint | touchPoint |
A render target representing the main view. Backing provided by the OS.
- (void) didReceiveTouch: | (CGPoint) | point |
Touch was received on this render target.
point | The coordinates in the render target of the touch location. |
- (instancetype) initWithView: | (UIView *) | view |
Initialise with an existing view, which is responsible for the backing.
Example of use:
view | The UIView to use for backing. |
|
readnonatomicassign |
Whether this render target renders at retina resolution.
|
readwritenonatomicweak |
The UIView that backs this render target.