Banuba SDK
BNBTouch.h
Go to the documentation of this file.
1 // AUTOGENERATED FILE - DO NOT MODIFY!
2 // This file generated by Djinni from effect_player.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 @interface BNBTouch : NSObject
11 - (nonnull instancetype)initWithX:(float)x
12  y:(float)y
13  id:(int64_t)id;
14 + (nonnull instancetype)touchWithX:(float)x
15  y:(float)y
16  id:(int64_t)id;
17 
18 @property (nonatomic, readonly) float x;
19 
20 @property (nonatomic, readonly) float y;
21 
22 @property (nonatomic, readonly) int64_t id;
23 
24 @end
BNBTouch
User touch object.
Definition: BNBTouch.h:11
BNBTouch::y
float y
Definition: BNBTouch.h:20
BNBTouch::x
float x
Definition: BNBTouch.h:18