Skip to content

Commit f92574a

Browse files
authored
Add android.permission.EYE_TRACKING_FINE request (#1105)
* Update MRTK Gaze Controller.prefab * Create AndroidPermissionUtilities.cs * Update FollowEyeGaze.cs * Update EyeTrackingBasicSetupExample.unity * Update EyeTrackingCursor.prefab * Enable XR_EXT_eye_gaze_interaction * Update AndroidPermissionUtilities.cs
1 parent 5ccec01 commit f92574a

7 files changed

Lines changed: 264 additions & 52 deletions

File tree

UnityProjects/MRTKDevTemplate/Assets/Prefabs/EyeTrackingExamples/EyeTrackingCursor.prefab

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ Transform:
2626
m_PrefabInstance: {fileID: 0}
2727
m_PrefabAsset: {fileID: 0}
2828
m_GameObject: {fileID: 4661674953859262253}
29+
serializedVersion: 2
2930
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
3031
m_LocalPosition: {x: 0, y: 0, z: 0}
3132
m_LocalScale: {x: 0.05, y: 0.05, z: 0.05}
3233
m_ConstrainProportionsScale: 0
3334
m_Children: []
3435
m_Father: {fileID: 0}
35-
m_RootOrder: 0
3636
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
3737
--- !u!33 &7576754869308646869
3838
MeshFilter:
@@ -98,25 +98,6 @@ MonoBehaviour:
9898
m_EditorClassIdentifier:
9999
defaultDistanceInMeters: 1
100100
idleStateColor: {r: 0.94482756, g: 0, b: 1, a: 0.5019608}
101-
hightlightStateColor: {r: 0.61972624, g: 0.8897059, b: 0, a: 0.5019608}
102-
gazeController: {fileID: 0}
103-
_gazeTranslationAction:
104-
m_UseReference: 0
105-
m_Action:
106-
m_Name: Gaze Translation
107-
m_Type: 0
108-
m_ExpectedControlType:
109-
m_Id: 760df33e-b34c-433a-8f53-9c42d6aab08f
110-
m_Processors:
111-
m_Interactions:
112-
m_SingletonActionBindings:
113-
- m_Name:
114-
m_Id: 1a156263-df3f-4690-a968-7702cec4bcc1
115-
m_Path: <EyeGaze>/pose/position
116-
m_Interactions:
117-
m_Processors:
118-
m_Groups:
119-
m_Action: Gaze Translation
120-
m_Flags: 0
121-
m_Flags: 0
122-
m_Reference: {fileID: 0}
101+
highlightStateColor: {r: 0.61972624, g: 0.8897059, b: 0, a: 0.5019608}
102+
gazePoseDriver: {fileID: 0}
103+
gazeInteractor: {fileID: 0}

0 commit comments

Comments
 (0)