Banuba SDK
Instance Methods | Class Methods | Properties | List of all members
BNBTouch Class Reference

User touch object. More...

#import <BNBTouch.h>

Inheritance diagram for BNBTouch:

Instance Methods

(nonnull instancetype) - initWithX:y:id:
 

Class Methods

(nonnull instancetype) + touchWithX:y:id:
 

Properties

float x
 
float y
 
int64_t id
 

Detailed Description

User touch object.

Coordinate system is normalized to (-1, 1) with center in (0, 0).

Definition at line 10 of file BNBTouch.h.

Method Documentation

◆ initWithX:y:id:

- (nonnull instancetype) initWithX: (float)  x
y: (float)  y
id: (int64_t)  id 

◆ touchWithX:y:id:

+ (nonnull instancetype) touchWithX: (float)  x
y: (float)  y
id: (int64_t)  id 

Property Documentation

◆ id

- (int64_t) id
readnonatomicassign

Definition at line 22 of file BNBTouch.h.

◆ x

- (float) x
readnonatomicassign

Definition at line 18 of file BNBTouch.h.

◆ y

- (float) y
readnonatomicassign

Definition at line 20 of file BNBTouch.h.


The documentation for this class was generated from the following file: