Android XR SDK اکنون در پیش نمایش برنامه نویس در دسترس است. ما بازخورد شما را می خواهیم! برای ارتباط با ما به
صفحه پشتیبانی ما مراجعه کنید.
با OpenXR توسعه دهید
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
Android XR از برنامههای ساخته شده با OpenXR از طریق پشتیبانی از مشخصات OpenXR 1.1 و پسوندهای فروشنده منتخب پشتیبانی میکند. OpenXR یک استاندارد باز است که به شما امکان میدهد با استفاده از مجموعهای از APIهای مشترک در طیف وسیعی از دستگاههای XR، تجربههای همهجانبه و تعاملی ایجاد کنید.
ویژگی ها
Android XR از ویژگیهایی پشتیبانی میکند که به شما امکان میدهد با استفاده از OpenXR برنامههایی بسازید که از قابلیتهای منحصربهفرد دستگاههای XR بهره کامل را ببرند. این ویژگی ها شامل موارد زیر است.
- قابل ردیابی
- از تشخیص هواپیما پشتیبانی می کند، که توانایی شناسایی و ردیابی سطوح مسطح در محیط است، امکان قرار دادن اشیاء مجازی در ارتباط با دنیای واقعی و لنگرها که نقاط مرجع مجازی هستند که می توانند به اشیاء یا مکان های دنیای واقعی متصل شوند، و تضمین می کند که محتوای مجازی به طور دقیق در موقعیت و جهت گیری باقی می ماند حتی زمانی که کاربر در حال حرکت است.
- پخش پرتو
- تکنیکی که برای تعیین نقطه تقاطع بین یک پرتو مجازی و اشیاء در صحنه استفاده میشود و تعاملاتی مانند انتخاب و دستکاری عناصر مجازی را تسهیل میکند.
- پایداری لنگر
- قابلیت ذخیره و بازیابی لنگرها در چندین جلسه، امکان قرار دادن مداوم و مداوم محتوای مجازی در محیط را فراهم می کند.
- ردیابی اشیا
- توانایی ردیابی ماوس، صفحه کلید و سایر اشیاء در دنیای واقعی.
- ردیابی کد QR
- امکان ردیابی کدهای QR در محیط فیزیکی و رمزگشایی داده های آنها.
- بافت های عمقی
- تولید نقشههای عمقی که اطلاعاتی را در مورد فاصله بین دوربین و اشیاء در صحنه ارائه میدهد و جلوههای انسداد و تعامل واقعیتر را ممکن میسازد.
- عبور
- توانایی ترکیب فیلمهای دوربین دنیای واقعی با محتوای مجازی، ایجاد یک تجربه واقعیت ترکیبی که بهطور یکپارچه دنیای فیزیکی و دیجیتال را با هم ترکیب میکند.
- مش بندی صحنه
- توانایی به دست آوردن یک شبکه سه بعدی از محیط، که می تواند برای فیزیک، انسداد و سایر تعاملات آگاه از جهان استفاده شود.
- عبور لایه ترکیب
- امکان برش لایه ترکیب گذر چند ضلعی را فراهم می کند، می تواند برای آوردن اشیاء دنیای واقعی به یک صحنه استفاده شود.
- ردیابی چهره
- امکان ردیابی ویژگی های چهره کاربر، ایجاد آواتارها و شخصیت های مجازی واقعی تر و گویاتر.
- ردیابی چشم
- موقعیت و جهت چشم کاربر را ارائه می دهد، که به گونه ای طراحی شده است که ژست چشم برای آواتارها واقعی تر شود.
- ردیابی دست
- امکان ردیابی موقعیت و حرکت دست های کاربر.
- توری دستی
- نمایش دقیقی از دستهای کاربر بهعنوان یک مش پلی کم ارائه میدهد. برای تحویل پلت فرم به برنامه بهینه شده است تا مطمئن شوید بهترین عملکرد ممکن را دارید. این جایگزینی برای سایر اکستنشنها است که از حالت باند و وزنههای ترکیبی استفاده میکنند.
- تخمین نور
- برای مدل های روشنایی برای مطابقت با شرایط نوری دنیای واقعی کاربر استفاده می شود.
Android XR از دستگاه های ورودی زیر نیز پشتیبانی می کند.
- تعامل دست
- تشخیص حرکات دست خاص، مانند نیشگون گرفتن، کشیدن انگشت و اشاره، به کاربران امکان می دهد با استفاده از حرکات و حرکات دست با اشیاء مجازی تعامل داشته باشند.
- تعامل بینایی چشم
- توانایی ردیابی حرکات چشم کاربر، به آنها اجازه می دهد با استفاده از نگاه خود اشیاء مجازی را انتخاب کرده و با آنها تعامل داشته باشند.
- 6 کنترل کننده حرکت DoF
- امکان ردیابی موقعیت و حرکت کنترلرها به همراه اتصالات Dpad و دکمه برای فعال کردن اقدامات یا شناور کردن رویدادها در برنامه.
- تعامل ماوس
- توانایی کاربران برای تعامل با اشیاء از طریق اشاره گر ماوس در فضای سه بعدی
Android XR از ویژگی های مرتبط با عملکرد زیر پشتیبانی می کند.
- فوواسیون ردیابی چشم
- به برنامه اجازه میدهد محتوای با وضوح بالاتر را فقط در نقطه کانونی چشم ارائه کند.
- پیچ و تاب فضایی
- از بردارهای سرعت و اطلاعات بافت عمقی برای تولید فریم های توئین استفاده می کند که به طور موثر نرخ فریم مورد نیاز برای غوطه ور ماندن کاربران در تجربیات شما را افزایش می دهد.
- معیارهای عملکرد
- معیارهای عملکرد Android XR را در زمان اجرا دستگاه XR فعلی، کامپوزیتور و برنامه XR ارائه میکند. این شامل زمان فریم پردازنده، زمان فریم پردازنده گرافیکی، استفاده از پردازنده گرافیکی، فرکانس پردازنده، فریم در ثانیه و موارد دیگر است.
برای مشاهده فهرست کامل ویژگیها و برنامههای افزودنی پشتیبانی شده، به نمای کلی ویژگی OpenXR مراجعه کنید.
موتورهای پشتیبانی شده
وحدت
پشتیبانی از Unity Android XR که بر روی OpenXR ساخته شده است، به توسعه دهندگان اجازه می دهد تا با استفاده از Unity 6 تجربیاتی ایجاد کنند. در نمای کلی Unity درباره ساخت برنامه های XR با Unity بیشتر بیاموزید.
OpenXR™ و لوگوی OpenXR علائم تجاری متعلق به The Khronos Group Inc. هستند و به عنوان یک علامت تجاری در چین، اتحادیه اروپا، ژاپن و بریتانیا ثبت شده اند.
محتوا و نمونه کدها در این صفحه مشمول پروانههای توصیفشده در پروانه محتوا هستند. جاوا و OpenJDK علامتهای تجاری یا علامتهای تجاری ثبتشده Oracle و/یا وابستههای آن هستند.
تاریخ آخرین بهروزرسانی 2025-07-30 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-07-30 بهوقت ساعت هماهنگ جهانی."],[],[],null,["# Develop with OpenXR\n\nAndroid XR supports apps built with [OpenXR](https://www.khronos.org/openxr/) through its support\nfor the [OpenXR 1.1 specification and select vendor extensions](https://registry.khronos.org/OpenXR/specs/1.1/html/xrspec.html).\nOpenXR is an open standard that lets you create immersive and interactive\nexperiences using a common set of APIs across a wide range of XR devices.\n\nFeatures\n--------\n\nAndroid XR supports features that allow you to build apps that take full\nadvantage of the unique capabilities of XR devices, using OpenXR. These features\ninclude the following.\n\nTrackables\n: Supports *plane detection* , which is the ability to identify and\n track flat surfaces within the environment, enabling the placement of\n virtual objects in relation to the real world and *Anchors* which are\n virtual points of reference that can be attached to real-world objects or\n locations, ensuring that virtual content remains accurately positioned and\n oriented even as the user moves around.\n\nRaycasting\n: A technique used to determine the intersection point between a\n virtual ray and objects in the scene, facilitating interactions such as\n selecting and manipulating virtual elements.\n\nAnchor persistence\n: The capability to save and restore anchors across multiple\n sessions, allowing for persistent and consistent placement of virtual\n content within the environment.\n\nObject tracking\n: The ability to track mouse, keyboard and other objects in the\n real-world.\n\nQR Code tracking\n: The ability to track QR Codes in the physical environment and decode\n their data.\n\nDepth textures\n: The generation of depth maps that provide information about the\n distance between the camera and objects in the scene, enabling more\n realistic occlusion and interaction effects.\n\nPassthrough\n: The ability to blend real-world camera footage with virtual\n content, creating a mixed reality experience that seamlessly combines the\n physical and digital worlds.\n\nScene meshing\n: The ability to acquire a 3D mesh of the environment, which can be\n used for physics, occlusion, and other world-aware interactions.\n\nComposition layer passthrough\n: Allows for a polygon passthrough composition\n layer cutout, can be used for bringing real world objects into a scene.\n\nFace tracking\n: The ability to track the features of the user's face, enabling\n the creation of more realistic and expressive avatars and virtual\n characters.\n\nEye tracking\n: Provides position and orientation of the user's eye, which is\n designed to make eye pose for avatars more realistic.\n\nHand tracking\n: The ability to track the position and movement of the user's hands.\n\nHand mesh\n: Provides an accurate representation of the user's hands as a low\n poly mesh. Optimized for platform-to-application delivery to make sure you\n get the best performance possible. This is an alternative to other\n extensions which use a bind pose and blend weights.\n\nLight estimation\n: Used for lighting models to match the user's real world lighting conditions.\n\nSupported input devices\n-----------------------\n\nAndroid XR also supports the following input devices.\n\nHand Interaction\n: The recognition of specific hand gestures, such as\n pinching, swiping, and pointing, enabling the users to interact with virtual\n objects using gestures and hand movements.\n\nEye Gaze Interaction\n: The ability to track the user's eye movements,\n allowing them to select and interact with virtual objects using their gaze.\n\n6DoF Motion Controllers\n: The ability to track the controllers position and\n movement along with Dpad and button bindings for triggering actions, or\n hover events within the application.\n\nMouse Interaction\n: The ability for users to interact with objects through a\n mouse pointer in 3D space\n\nSupported performance features\n------------------------------\n\nAndroid XR supports the following performance-related features.\n\nEye-tracked foveation\n: Allows an app to render higher resolution content only\n at the eyes focal point.\n\nSpace warp\n: Uses velocity vectors and depth texture information to\n generate tween frames which effectively boosts the framerate required to\n keep your users immersed in your experiences\n\nPerformance metrics\n: Provides Android XR performance metrics at runtime of\n the current XR device, compositor, and XR application. This includes cpu\n frametime, gpu frame time, gpu utilization, cpu frequency, frames per second\n and [more](/develop/xr/openxr/extensions/XR_ANDROID_performance_metrics).\n\nSee the [OpenXR Feature Overview](/develop/xr/openxr/extensions) for a full list of supported features and\nextensions.\n\nSupported engines\n-----------------\n\n| **Note:** The [Android XR emulator](/develop/xr/jetpack-xr-sdk/studio-tools#android-xr) is not supported for Unity or OpenXR apps.\n\nUnity\n-----\n\nAndroid XR's Unity support, built on top of OpenXR, allows developers to create\nexperiences using Unity 6. Learn more about building XR apps with Unity in the\n[Unity overview](/develop/xr/unity).\n\n*** ** * ** ***\n\nOpenXR™ and the OpenXR logo are trademarks owned\nby The Khronos Group Inc. and are registered as a trademark in China,\nthe European Union, Japan and the United Kingdom."]]