The Android XR SDK is now available in Developer Preview. We want your feedback! Visit our
support page to reach out.
Stay organized with collections
Save and categorize content based on your preferences.
AndroidXRMouseInteractionProfile
This OpenXRInteractionFeature enables the use of Android XR Mouse interaction profile in OpenXR.
Summary
Inheritance
Inherits from:
OpenXRInteractionFeature
Public attributes
|
ExtensionString = "XR_ANDROID_mouse_interaction"
|
const string
The OpenXR Extension string.
|
FeatureId = "com.google.xr.extensions.input.mouse"
|
const string
The feature id string.
|
Profile = "/interaction_profiles/android/mouse_interaction_android"
|
const string
The interaction profile string used to reference the mouse input device.
|
UiName = "Android XR Mouse Interaction Profile"
|
const string
The UI name shows on the XR Plug-in Management panel, help users to understand validation errors and expected fixes.
|
UserPath = "/user/mouse"
|
const string
The OpenXR constant that is used to reference a mouse supported input device.
|
Public attributes
ExtensionString
const string ExtensionString = "XR_ANDROID_mouse_interaction"
The OpenXR Extension string.
This is used by OpenXR to check if this extension is available or enabled.
FeatureId
const string FeatureId = "com.google.xr.extensions.input.mouse"
The feature id string.
This is used to give the feature a well known id for reference.
Profile
const string Profile = "/interaction_profiles/android/mouse_interaction_android"
The interaction profile string used to reference the mouse input device.
UiName
const string UiName = "Android XR Mouse Interaction Profile"
The UI name shows on the XR Plug-in Management panel, help users to understand validation errors and expected fixes.
UserPath
const string UserPath = "/user/mouse"
The OpenXR constant that is used to reference a mouse supported input device.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-08 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-08 UTC."],[],[],null,["# AndroidXRMouseInteractionProfile Class Reference\n\nAndroidXRMouseInteractionProfile\n================================\n\nThis OpenXRInteractionFeature enables the use of Android XR Mouse interaction profile in OpenXR.\n\nSummary\n-------\n\n### Inheritance\n\nInherits from: `OpenXRInteractionFeature`\n\n| ### Public attributes ||\n|-----------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|\n| [ExtensionString](#extensionstring)` = \"XR_ANDROID_mouse_interaction\"` | `const string` The OpenXR Extension string. |\n| [FeatureId](#featureid)` = \"com.google.xr.extensions.input.mouse\"` | `const string` The feature id string. |\n| [Profile](#profile)` = \"/interaction_profiles/android/mouse_interaction_android\"` | `const string` The interaction profile string used to reference the mouse input device. |\n| [UiName](#uiname)` = \"Android XR Mouse Interaction Profile\"` | `const string` The UI name shows on the XR Plug-in Management panel, help users to understand validation errors and expected fixes. |\n| [UserPath](#userpath)` = \"/user/mouse\"` | `const string` The OpenXR constant that is used to reference a mouse supported input device. |\n\n| ### Classes ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|\n| [Google.XR.Extensions.AndroidXRMouseInteractionProfile.AndroidXRMouse](/develop/xr/unity/reference/class/Google/XR/Extensions/AndroidXRMouseInteractionProfile/AndroidXRMouse) | An Input device based on Android XR Mouse interaction profile. |\n| [Google.XR.Extensions.AndroidXRMouseInteractionProfile.AndroidXRMouseUsages](/develop/xr/unity/reference/class/Google/XR/Extensions/AndroidXRMouseInteractionProfile/AndroidXRMouseUsages) | Tags that can be used with InputDevice.TryGetFeatureValue to get mouse related input features. |\n\nPublic attributes\n-----------------\n\n### ExtensionString\n\n```c#\nconst string ExtensionString = \"XR_ANDROID_mouse_interaction\"\n``` \nThe OpenXR Extension string.\n\nThis is used by OpenXR to check if this extension is available or enabled. \n\n### FeatureId\n\n```c#\nconst string FeatureId = \"com.google.xr.extensions.input.mouse\"\n``` \nThe feature id string.\n\nThis is used to give the feature a well known id for reference. \n\n### Profile\n\n```c#\nconst string Profile = \"/interaction_profiles/android/mouse_interaction_android\"\n``` \nThe interaction profile string used to reference the mouse input device. \n\n### UiName\n\n```c#\nconst string UiName = \"Android XR Mouse Interaction Profile\"\n``` \nThe UI name shows on the XR Plug-in Management panel, help users to understand validation errors and expected fixes. \n\n### UserPath\n\n```c#\nconst string UserPath = \"/user/mouse\"\n``` \nThe OpenXR constant that is used to reference a mouse supported input device."]]