所有 AR 程序 (例如動作追蹤、環境理解和亮度評估) 都會在 ARCore 工作階段內進行。GARSession 是 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"]],["上次更新時間:2023-12-08 (世界標準時間)。"],[[["An ARCore session, represented by `GARSession`, manages all AR processes like motion tracking and environmental understanding."],["You can configure a session to use features such as Cloud Anchors, Augmented Faces, and the ARCore Geospatial API."],["To create a session in iOS, you need to initialize `GARSession`, set delegates for callbacks, and integrate with ARKit's `ARSession` for frame processing."],["Session configuration allows enabling specific features like Cloud Anchors or the Geospatial API by setting properties on `GARSessionConfiguration`."]]],[]]