Skip to content

Commit

Permalink
Update See-It, Say-It Labels to use Gaze Input (#11677)
Browse files Browse the repository at this point in the history
Modifies See-It, Say-It Labels to use Gaze Input and updates sample scenes so that voice commands are enabled.
  • Loading branch information
marlenaklein-msft authored Jul 6, 2023
1 parent 04ad752 commit c481803
Show file tree
Hide file tree
Showing 33 changed files with 1,746 additions and 532 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ RectTransform:
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -3.700018}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1231290232}
m_RootOrder: 2
Expand Down Expand Up @@ -918,6 +919,7 @@ Transform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 1.6, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1170623173}
- {fileID: 1130815444}
Expand Down Expand Up @@ -979,6 +981,10 @@ PrefabInstance:
propertyPath: m_Name
value: MRTK XR Rig
objectReference: {fileID: 0}
- target: {fileID: 8479077998186684813, guid: 4d7e2f87fefe0ba468719b15288b46e7, type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 4d7e2f87fefe0ba468719b15288b46e7, type: 3}
--- !u!1 &562708120
Expand Down Expand Up @@ -1009,6 +1015,7 @@ RectTransform:
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 693261700}
m_RootOrder: 0
Expand Down Expand Up @@ -1184,6 +1191,7 @@ RectTransform:
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -4}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 562708121}
m_Father: {fileID: 1231290232}
Expand Down Expand Up @@ -1283,6 +1291,7 @@ Transform:
m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
m_LocalPosition: {x: 0, y: 3, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
Expand Down Expand Up @@ -1767,6 +1776,7 @@ Transform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0.1, z: 1}
m_LocalScale: {x: 0.2, y: 0.2, z: 0.2}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 609855753}
m_Father: {fileID: 491858691}
Expand Down Expand Up @@ -1796,6 +1806,7 @@ MeshRenderer:
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
Expand Down Expand Up @@ -2025,6 +2036,7 @@ RectTransform:
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0.8077}
m_LocalScale: {x: 0.001, y: 0.001, z: 0.001}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1231290232}
m_Father: {fileID: 491858691}
Expand Down Expand Up @@ -2110,6 +2122,7 @@ RectTransform:
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 693261700}
- {fileID: 1689123013}
Expand Down Expand Up @@ -2559,6 +2572,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3}
m_Name:
m_EditorClassIdentifier:
m_SendPointerHoverToParent: 1
m_HorizontalAxis: Horizontal
m_VerticalAxis: Vertical
m_SubmitButton: Submit
Expand Down Expand Up @@ -2591,6 +2605,7 @@ Transform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 5
Expand Down Expand Up @@ -2624,6 +2639,7 @@ RectTransform:
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -4}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1231290232}
m_RootOrder: 1
Expand Down Expand Up @@ -2839,6 +2855,7 @@ RectTransform:
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -3.700018}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1231290232}
m_RootOrder: 3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,10 @@ PrefabInstance:
propertyPath: m_Name
value: MRTK XR Rig
objectReference: {fileID: 0}
- target: {fileID: 8479077998186684813, guid: 4d7e2f87fefe0ba468719b15288b46e7, type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 4d7e2f87fefe0ba468719b15288b46e7, type: 3}
--- !u!1 &629829897
Expand Down Expand Up @@ -308,6 +312,7 @@ Transform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0.02, z: 3}
m_LocalScale: {x: 0.2, y: 0.2, z: 0.2}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1918790412}
m_RootOrder: 1
Expand Down Expand Up @@ -336,6 +341,7 @@ MeshRenderer:
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
Expand Down Expand Up @@ -574,6 +580,7 @@ Transform:
m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
m_LocalPosition: {x: 0, y: 3, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
Expand Down Expand Up @@ -608,6 +615,7 @@ Transform:
m_LocalRotation: {x: 0, y: 0.38268343, z: 0, w: 0.92387956}
m_LocalPosition: {x: -1.96, y: 0.11, z: 2.04}
m_LocalScale: {x: 3, y: 3, z: 0.1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1918790412}
m_RootOrder: 2
Expand Down Expand Up @@ -650,6 +658,7 @@ MeshRenderer:
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
Expand Down Expand Up @@ -775,6 +784,7 @@ Transform:
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 1.6, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1966272100}
- {fileID: 629829898}
Expand Down Expand Up @@ -1000,6 +1010,13 @@ MonoBehaviour:
m_DistanceCalculationMode: 1
m_SelectMode: 0
m_CustomReticle: {fileID: 0}
m_AllowGazeInteraction: 0
m_AllowGazeSelect: 0
m_OverrideGazeTimeToSelect: 0
m_GazeTimeToSelect: 0.5
m_OverrideTimeToAutoDeselectGaze: 0
m_TimeToAutoDeselectGaze: 3
m_AllowGazeAssistance: 0
m_FirstHoverEntered:
m_PersistentCalls:
m_Calls: []
Expand Down Expand Up @@ -1032,6 +1049,7 @@ MonoBehaviour:
m_Calls: []
m_StartingHoverFilters: []
m_StartingSelectFilters: []
m_StartingInteractionStrengthFilters: []
m_OnFirstHoverEntered:
m_PersistentCalls:
m_Calls: []
Expand Down Expand Up @@ -1153,6 +1171,7 @@ MonoBehaviour:
allowSelectByVoice: 1
speechRecognitionKeyword: select
<VoiceRequiresFocus>k__BackingField: 1
<SelectRequiresHover>k__BackingField: 0
<IsToggled>k__BackingField:
active: 0
onEntered:
Expand All @@ -1173,7 +1192,11 @@ MonoBehaviour:
hostTransform: {fileID: 1966272100}
allowedManipulations: 7
allowedInteractionTypes: -1
useForcesForNearManipulation: 0
applyTorque: 1
springForceSoftness: 0.1
springTorqueSoftness: 0.1
springDamping: 1
springForceLimit: 100
rotationAnchorNear: 1
rotationAnchorFar: 1
releaseBehavior: 3
Expand Down
Loading

0 comments on commit c481803

Please sign in to comment.