وضع العناصر فورًا
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
الأدلة الخاصة بالمنصة
تسمح واجهة برمجة التطبيقات Instant Placement API للمستخدم بوضع عناصر الواقع المعزّز على الفور، بدون
الحاجة إلى تحريك جهازه أولاً للسماح لـ ARCore بإنشاء عملية تتبُّع كاملة و
رصد هندسة السطح.
بعد أن يضع المستخدم عنصرًا، يتم تحسين وضعه في الوقت الفعلي أثناء تحركه في البيئة. بعد أن يتمكّن ARCore من تحديد الوضع الصحيح
في المنطقة التي تم وضع عنصر الواقع المعزّز فيها، يعدّل
الوضع وطريقة التتبُّع للعنصر.
في المثال التالي، يتم وضع جسم في البداية باستخدام وضع مقدَّر،
يتم الإشارة إليه من خلال لونه بالدرجات الرمادية. بعد تحديد وضعية دقيقة،
يصبح الجسم ملونًا، ما يشير إلى أنّه يستخدم وضعية دقيقة. ويؤثّر التغير المفاجئ في الوضع أيضًا في "الحجم" الظاهر أو المقياس المتصور للجسم.

في الشكل 1، يكون موضع الإعلان الفوري غير مفعّل وشكل السطح غير محدّد.
تبدو الأجسام الموضوعة على الأرض على يسار طاولة البلياردو (أربع نقاط زرقاء صغيرة)
مُسقطة، ووضعها غير محدّد.
في الشكل 2، تم تفعيل "الموضع الفوري" من القائمة ضمن رمز الترس.
في الشكل 3، تم وضع عنصر جديد في المشهد مع تفعيل ميزة "الموضع الفوري".
يظهر هذا الرمز باللون الرمادي بدلاً من اللون للإشارة إلى أنّه لم يتم تعديله بعد لعرض وضعية دقيقة.
في الشكل 4، يصبح الجسم الجديد ملونًا، وتكون وضعيته دقيقة، عند رصد
هندسة السطح (الموصوفة بخطوط الشبكة القابلة للتتبُّع).
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eThis page provides developer guides for instant placement in AR experiences using various platforms like Android, Unity, and Unreal Engine.\u003c/p\u003e\n"],["\u003cp\u003eInstant Placement allows users to place AR objects immediately without waiting for full tracking, enhancing the user experience.\u003c/p\u003e\n"],["\u003cp\u003eInitially placed objects have an estimated pose, which is later refined for accuracy as ARCore gathers more environmental data.\u003c/p\u003e\n"],["\u003cp\u003eVisual cues, such as grayscale, indicate when an object's pose is estimated and transitions to color when the pose becomes accurate.\u003c/p\u003e\n"],["\u003cp\u003eThe provided figures illustrate the difference between instant placement enabled and disabled, showcasing the pose refinement process.\u003c/p\u003e\n"]]],[],null,["# Place objects instantly\n\n**Platform-specific guides** \n\n### Android (Kotlin/Java)\n\n- [Instant placement developer guide for Android (Java)](/ar/develop/java/instant-placement/developer-guide)\n\n### Android NDK (C)\n\n- [Instant placement developer guide for Android NDK](/ar/develop/c/instant-placement/developer-guide)\n\n### Unity (AR Foundation)\n\n- [Instant placemnt developer guide for Unity (AR Foundation)](/ar/develop/unity-arf/instant-placement/developer-guide)\n\n### Unreal Engine\n\n- [ARCore SDK for Unreal Engine (official documentation)](https://docs.unrealengine.com/5.0/en-US/developing-for-arcore-in-unreal-engine/)\n\nThe Instant Placement API allows the user to place AR objects instantly, without\nhaving to first move their device to allow ARCore to establish full tracking and\ndetect surface geometry.\n\nAfter the user has placed an object, its pose is refined in real time as the\nuser moves through the environment. Once ARCore is able to determine the correct\npose in the region where the AR object has been placed, it updates the object's\npose and tracking method.\n\nIn the following example, an object is initially placed using an estimated pose,\nwhich is indicated by its grayscale color. Once an accurate pose can be determined,\nthe object becomes colored, indicating that it is using an accurate pose. The\nsudden change in pose also affects the apparent \"size\" or perceived scale of the\nobject.\n\nIn Figure 1, Instant Placement is disabled and surface geometry is undefined.\nObjects placed on the floor to the right of the pool table (four small blue dots)\nappear knocked-over, their poses are undefined.\n\nIn Figure 2, Instant Placement is enabled from the menu under the gear icon.\n\nIn Figure 3, with Instant Placement enabled, a new object is placed in the scene.\nIt appears in grayscale, instead of colored, to denote that it has not been\ncorrected for an accurate pose yet.\n\nIn Figure 4, the new object becomes colored, and its pose is accurate, when the\nsurface geometry (described by the *trackable* grid lines) is detected."]]