הגדרה של סשן ב-ARCore באמצעות תוספי ARCore ל-Unity
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מגדירים סשן ARCore כדי ליצור חוויות AR לאפליקציה.
מהו סשן?
כל תהליכי ה-AR, כמו מעקב תנועה, הבנה סביבתית והערכת תאורה, מתרחשים בתוך סשן ARCore. ARSession היא נקודת הכניסה הראשית ל-ARCore API. הוא מנהל את מצב מערכת ה-AR ומטפל במחזור החיים של הסשן, ומאפשר לאפליקציה ליצור, להגדיר, להפעיל או להפסיק סשן. הדבר החשוב ביותר הוא שהיא מאפשרת לאפליקציה לקבל פריימים שמאפשרים גישה לתמונה מהמצלמה ולתנוחת המכשיר.
[[["התוכן קל להבנה","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-26 (שעון UTC)."],[],["An ARCore session is essential for AR processes like motion tracking and lighting estimation. `ARSession` manages the AR system state, including session creation and configuration, and enables access to camera images and device pose. Before configuring the ARCore session, AR Foundation and ARCore Extensions must be set up. You need to create an `ARCore Extensions Config` asset in Unity and connect it to the `ARCore Extensions` object. Session management is done using `LoaderUtility` functions in newer versions of AR Foundation.\n"]]