Banuba SDK
BNBTouch.h
Go to the documentation of this file.
1 // AUTOGENERATED FILE - DO NOT MODIFY!
2 // This file was generated by Djinni from types.djinni
3 
4 #import <Foundation/Foundation.h>
5 
6 /**
7  * User touch object.
8  * Coordinate system is normalized to (-1, 1) with center in (0, 0).
9  */
10 
11 #ifndef DJINNI_EXPORT
12  #define DJINNI_EXPORT __attribute__((__visibility__("default")))
13 #endif
14 
16 @interface BNBTouch : NSObject
17 - (nonnull instancetype)initWithX:(float)x
18  y:(float)y
19  id:(int64_t)id;
20 + (nonnull instancetype)touchWithX:(float)x
21  y:(float)y
22  id:(int64_t)id;
23 
24 @property (nonatomic, readonly) float x;
25 
26 @property (nonatomic, readonly) float y;
27 
28 @property (nonatomic, readonly) int64_t id;
29 
30 @end
BNBTouch
Definition: BNBTouch.h:16
DJINNI_EXPORT
#define DJINNI_EXPORT
User touch object.
Definition: BNBTouch.h:12
BNBTouch::y
float y
Definition: BNBTouch.h:26
BNBTouch::x
float x
Definition: BNBTouch.h:24