Banuba SDK
Instance Methods | List of all members
BNBInputManager Class Reference

Class to accepts touches from user. More...

#import <BNBInputManager.h>

Inheritance diagram for BNBInputManager:

Instance Methods

(void) - onTouchesBegan:
 
(void) - onTouchesMoved:
 
(void) - onTouchesEnded:
 
(void) - onTouchesCancelled:
 
(void) - onRotationGesture:
 
(void) - onScaleGesture:
 
(void) - onSwipeGesture:dirY:
 
(void) - onDoubleTapGesture:
 
(void) - onLongTapGesture:
 
(void) - onGestureEnded:
 

Detailed Description

Class to accepts touches from user.

Key in each map is id of an event.

Definition at line 13 of file BNBInputManager.h.

Method Documentation

◆ onDoubleTapGesture:

- (void) onDoubleTapGesture: (nonnull BNBTouch *)  pos

◆ onGestureEnded:

- (void) onGestureEnded: (nonnull NSString *)  id

◆ onLongTapGesture:

- (void) onLongTapGesture: (nonnull BNBTouch *)  pos

◆ onRotationGesture:

- (void) onRotationGesture: (float)  angle

◆ onScaleGesture:

- (void) onScaleGesture: (float)  scale

◆ onSwipeGesture:dirY:

- (void) onSwipeGesture: (float)  dirX
dirY: (float)  dirY 

◆ onTouchesBegan:

- (void) onTouchesBegan: (nonnull NSDictionary< NSNumber *, BNBTouch * > *)  tocuhes

◆ onTouchesCancelled:

- (void) onTouchesCancelled: (nonnull NSDictionary< NSNumber *, BNBTouch * > *)  tocuhes

◆ onTouchesEnded:

- (void) onTouchesEnded: (nonnull NSDictionary< NSNumber *, BNBTouch * > *)  tocuhes

◆ onTouchesMoved:

- (void) onTouchesMoved: (nonnull NSDictionary< NSNumber *, BNBTouch * > *)  tocuhes

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