AndroidNativeHeadsetEnums.cs
3.24 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
//-----------------------------------------------------------------------
// <copyright file="AndroidNativeHeadsetEnums.cs" company="Google Inc.">
// Copyright 2017 Google Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// </copyright>
//-----------------------------------------------------------------------
using UnityEngine;
using System;
/// @cond
namespace Gvr.Internal
{
/// <summary>Maps to gvr_feature in the C API.</summary>
internal enum gvr_feature
{
HeadPose6dof = 3,
}
/// <summary>Maps to gvr_property_type in the C API.</summary>
internal enum gvr_property_type
{
/// <summary>float; `GVR_PROPERTY_TRACKING_FLOOR_HEIGHT`</summary>
TrackingFloorHeight = 1,
/// <summary>gvr_mat4f, `GVR_PROPERTY_RECENTER_TRANSFORM`</summary>
RecenterTransform = 2,
/// <summary>int (`gvr_safety_region_type`), `GVR_PROPERTY_SAFETY_REGION`</summary>
SafetyRegion = 3,
/// <summary>float, `GVR_PROPERTY_SAFETY_CYLINDER_INNER_RADIUS`</summary>
SafetyCylinderInnerRadius = 4,
/// <summary>float, `GVR_PROPERTY_SAFETY_CYLINDER_OUTER_RADIUS`</summary>
SafetyCylinderOuterRadius = 5,
}
/// <summary>Maps to gvr_value_type in the C API.</summary>
internal enum gvr_value_type
{
/// <summary>A default enum indicating with no value or type.<summary>
None = 0,
/// <summary>The float type.<summary>
Float = 1,
/// <summary>The double type.<summary>
Double = 2,
/// <summary>The integer type.<summary>
Int = 3,
/// <summary>The long integer type.<summary>
Int64 = 4,
/// <summary>An array of boolean flags cast as an integer.<summary>
Flags = 5,
/// <summary>An unsigned integer type indicating size.<summary>
Sizei = 6,
/// <summary>Four integers representing the edges of a rectangle.<summary>
Recti = 7,
/// <summary>Four floats representing the edges of a rectangle.<summary>
Rectf = 8,
/// <summary>Two floats representing a Vector2.<summary>
Vec2f = 9,
/// <summary>Three floats representing a Vector3.<summary>
Vec3f = 10,
/// <summary>Four floats representing a Quaternion.<summary>
Quat = 11,
/// <summary>A four-by-four array of floats representing a 4x4 Matrix.<summary>
Mat4f = 12,
/// <summary>A long integer representing a timestamp.<summary>
ClockTimePoint = 13,
}
/// <summary>Flags indicating recenter event properties.<summary>
internal enum gvr_recenter_flags
{
/// <summary>A default value with no associated property.<summary>
None = 0,
}
}
/// @endcond