-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.php
52 lines (40 loc) · 1.65 KB
/
config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
return [
'#theme-name' => 'VR View 360 Image with Hotspot Navigation',
'#theme-key' => 'vr-view-360-image-hotspot',
'#theme-version' => '1.1',
'#ideaspace-version' => '>=1.1.0',
'#theme-description' => 'Photo sphere viewer with navigation hotspots. Based on the "VR View for the Web" by Google.',
'#theme-author-name' => 'IdeaSpaceVR',
'#theme-author-email' => 'info@ideaspacevr.org',
'#theme-homepage' => 'https://www.ideaspacevr.org/themes',
'#theme-keywords' => 'photo sphere, gaze input navigation, mobile, 360, photography',
'#theme-view' => 'scene',
'#content-types' => [
'photo-spheres' => [
'#label' => 'Photo Spheres',
'#description' => 'Manage your photo spheres.',
'#max-values' => 'infinite',
'#fields' => [
'photo-sphere' => [
'#label' => 'Photo Sphere',
'#description' => 'Upload a photo sphere image.',
'#help' => 'Photo sphere image in equirectangular projection format.',
'#type' => 'photosphere',
'#required' => false,
'#file-extension' => ['jpg', 'png'],
],
'navigation-hotspots' => [
'#label' => 'Photo Sphere Navigation Hotspot',
'#description' => 'Add navigation hotspots moving from one photo sphere to the next.',
'#help' => 'Add navigation hotspots moving from one photo sphere to the next.',
'#type' => 'position',
'#maxnumber' => 10,
'#required' => false,
'#content-type-reference' => 'photo-spheres',
'#field-reference' => 'photo-sphere',
],
], /* fields */
], /* photo-spheres */
], /* content types */
];