SLProject
4.3.020
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
SENSiOSOrientation.h
Go to the documentation of this file.
1
#ifndef SENS_IOSORIENTATION_H
2
#define SENS_IOSORIENTATION_H
3
4
#include <
SENSOrientation.h
>
5
#import "
SENSiOSOrientationDelegate.h
"
6
7
class
SENSiOSOrientation
:
public
SENSOrientation
8
{
9
public
:
10
SENSiOSOrientation
();
11
12
bool
start
()
override
;
13
void
stop
()
override
;
14
15
private
:
16
//callback from delegate
17
void
updateOrientation
(
float
quatX,
18
float
quatY,
19
float
quatZ,
20
float
quatW);
21
22
SENSiOSOrientationDelegate
*
_orientationDelegate
;
23
};
24
25
#endif
SENSOrientation.h
SENSiOSOrientationDelegate.h
SENSOrientation
Definition:
SENSOrientation.h:53
SENSiOSOrientation
Definition:
SENSiOSOrientation.h:8
SENSiOSOrientation::stop
void stop() override
Definition:
SENSiOSOrientation.mm:16
SENSiOSOrientation::updateOrientation
void updateOrientation(float quatX, float quatY, float quatZ, float quatW)
Definition:
SENSiOSOrientation.mm:22
SENSiOSOrientation::start
bool start() override
Definition:
SENSiOSOrientation.mm:10
SENSiOSOrientation::_orientationDelegate
SENSiOSOrientationDelegate * _orientationDelegate
Definition:
SENSiOSOrientation.h:22
SENSiOSOrientation::SENSiOSOrientation
SENSiOSOrientation()
Definition:
SENSiOSOrientation.mm:3
SENSiOSOrientationDelegate
Definition:
SENSiOSOrientationDelegate.h:5
modules
sens
source
ios
SENSiOSOrientation.h
Generated by
1.9.1