Blender
V2.93
source
blender
makesdna
DNA_xr_types.h
Go to the documentation of this file.
1
/*
2
* This program is free software; you can redistribute it and/or
3
* modify it under the terms of the GNU General Public License
4
* as published by the Free Software Foundation; either version 2
5
* of the License, or (at your option) any later version.
6
*
7
* This program is distributed in the hope that it will be useful,
8
* but WITHOUT ANY WARRANTY; without even the implied warranty of
9
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
* GNU General Public License for more details.
11
*
12
* You should have received a copy of the GNU General Public License
13
* along with this program; if not, write to the Free Software Foundation,
14
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15
*/
16
21
#pragma once
22
23
#include "
DNA_view3d_types.h
"
24
25
#ifdef __cplusplus
26
extern
"C"
{
27
#endif
28
29
typedef
struct
XrSessionSettings
{
31
struct
View3DShading
shading
;
32
33
char
_pad
[7];
34
35
char
base_pose_type
;
/* eXRSessionBasePoseType */
37
Object
*
base_pose_object
;
38
float
base_pose_location
[3];
39
float
base_pose_angle
;
40
42
char
draw_flags
;
43
char
_pad2
[3];
44
46
float
clip_start
,
clip_end
;
47
48
int
flag
;
49
}
XrSessionSettings
;
50
51
typedef
enum
eXrSessionFlag
{
52
XR_SESSION_USE_POSITION_TRACKING
= (1 << 0),
53
}
eXrSessionFlag
;
54
55
typedef
enum
eXRSessionBasePoseType
{
56
XR_BASE_POSE_SCENE_CAMERA
= 0,
57
XR_BASE_POSE_OBJECT
= 1,
58
XR_BASE_POSE_CUSTOM
= 2,
59
}
eXRSessionBasePoseType
;
60
61
#ifdef __cplusplus
62
}
63
#endif
DNA_view3d_types.h
XrSessionSettings
struct XrSessionSettings XrSessionSettings
eXrSessionFlag
eXrSessionFlag
Definition:
DNA_xr_types.h:51
XR_SESSION_USE_POSITION_TRACKING
@ XR_SESSION_USE_POSITION_TRACKING
Definition:
DNA_xr_types.h:52
eXRSessionBasePoseType
eXRSessionBasePoseType
Definition:
DNA_xr_types.h:55
XR_BASE_POSE_CUSTOM
@ XR_BASE_POSE_CUSTOM
Definition:
DNA_xr_types.h:58
XR_BASE_POSE_SCENE_CAMERA
@ XR_BASE_POSE_SCENE_CAMERA
Definition:
DNA_xr_types.h:56
XR_BASE_POSE_OBJECT
@ XR_BASE_POSE_OBJECT
Definition:
DNA_xr_types.h:57
Object
Definition:
DNA_object_types.h:239
View3DShading
Definition:
DNA_view3d_types.h:150
XrSessionSettings
Definition:
DNA_xr_types.h:29
XrSessionSettings::base_pose_type
char base_pose_type
Definition:
DNA_xr_types.h:35
XrSessionSettings::clip_end
float clip_end
Definition:
DNA_xr_types.h:46
XrSessionSettings::base_pose_angle
float base_pose_angle
Definition:
DNA_xr_types.h:39
XrSessionSettings::flag
int flag
Definition:
DNA_xr_types.h:48
XrSessionSettings::base_pose_location
float base_pose_location[3]
Definition:
DNA_xr_types.h:38
XrSessionSettings::base_pose_object
Object * base_pose_object
Definition:
DNA_xr_types.h:37
XrSessionSettings::_pad
char _pad[7]
Definition:
DNA_xr_types.h:33
XrSessionSettings::clip_start
float clip_start
Definition:
DNA_xr_types.h:46
XrSessionSettings::_pad2
char _pad2[3]
Definition:
DNA_xr_types.h:43
XrSessionSettings::draw_flags
char draw_flags
Definition:
DNA_xr_types.h:42
XrSessionSettings::shading
struct View3DShading shading
Definition:
DNA_xr_types.h:31
Generated on Tue Jan 31 2023 14:37:24 for Blender by
doxygen
1.9.1