使用場景的樣本
SDK 範例
這些範例旨在協助開發人員輕鬆建構及執行場景。它們刻意較小,並強調使用 Sceneform 所需的重要項目。
這些範例發布至 GitHub 上的 Sceneform SDK for Android 存放區。每個發布版本都會更新。
使用範例
使用範例是由開發人員和開發人員使用場景的題目和問題所啟發。這些範例旨在顯示場景的特定部分。這些範例與 Sceneform SDK 版本無關,因此會視需要根據情境,或是與使用 Sceneform 相關的目前主題更新。
如需這些範例的詳細資料,請前往 GitHub 的 sceneform-samples 專案。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2022-09-26 (世界標準時間)。
[null,null,["上次更新時間:2022-09-26 (世界標準時間)。"],[[["These samples help developers quickly get started with Sceneform, showcasing key features with minimal setup."],["They are categorized into SDK samples and usage samples, each serving different purposes and update schedules."],["SDK samples provide foundational knowledge of using Sceneform for tasks like AR session management, animations, face augmentation, and image augmentation."],["Usage samples offer solutions to specific developer questions and demonstrate more specialized Sceneform features, including chroma key video and video recording."],["All samples are publicly accessible on GitHub and regularly updated to ensure relevance and functionality."]]],["Sceneform SDK samples, available on GitHub, offer developers examples for using the technology. Key actions demonstrated include using `ArFragment` for ARCore management, animating imported models, applying textures to faces, and utilizing the ARCore Augmented Images API. Other samples showcase loading multiple models, using `ExternalTexture` for Chroma Key video, and capturing video with the `VideoRecording` class. Usage samples, found in the sceneform-samples project, address specific aspects and developer inquiries, with independent update cycles.\n"]]