Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Camera
GlobeCamera
GlobeCameraTouchSettings.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "GlobeCamera.h"
6
7
namespace
Eegeo
8
{
9
namespace
Camera
10
{
11
namespace
GlobeCamera
12
{
13
struct
GlobeCameraTouchSettings
14
{
15
bool
RotateEnabled;
16
bool
PanEnabled;
17
bool
ZoomEnabled;
18
bool
TiltEnabled;
19
20
void
EnableAll()
21
{
22
RotateEnabled =
true
;
23
PanEnabled =
true
;
24
ZoomEnabled =
true
;
25
TiltEnabled =
true
;
26
}
27
28
static
GlobeCameraTouchSettings
CreateDefault()
29
{
30
GlobeCameraTouchSettings
settings;
31
32
settings.RotateEnabled =
true
;
33
settings.PanEnabled =
true
;
34
settings.ZoomEnabled =
true
;
35
settings.TiltEnabled =
true
;
36
37
return
settings;
38
}
39
};
40
}
41
}
42
}
Generated on Sat Jun 10 2023 02:00:29 for eeGeo Platform SDK by
1.8.3.1