ตัวอย่างการใช้ Sceneform
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ตัวอย่าง SDK
ตัวอย่างเหล่านี้มีวัตถุประสงค์เพื่อให้นักพัฒนาซอฟต์แวร์เริ่มต้นใช้งานด้วย Sceneform ได้โดยใช้ความพยายามเพียงเล็กน้อย ทั้ง 2 อย่างนี้จงใจเล็กและเน้นให้เห็นถึงองค์ประกอบหลัก
ที่จําเป็นต่อการใช้ Sceneform
ตัวอย่างเหล่านี้เผยแพร่ในที่เก็บ Sceneform SDK สําหรับ Android ใน GitHub และจะมีการอัปเดตทุกรุ่น
ตัวอย่างการใช้
ตัวอย่างการใช้งานได้รับแรงบันดาลใจจากปัญหาและคําถามจากคุณ นักพัฒนาที่ใช้ Scenform ตัวอย่างเหล่านี้ออกแบบมาเพื่อแสดงลักษณะเฉพาะของ Sceneform
ตัวอย่างเหล่านี้เป็นอิสระจากการเปิดตัว Sceneform SDK ดังนั้นเวอร์ชันนี้จะได้รับการอัปเดตตามช่วงเวลาหรือความต้องการในปัจจุบันที่เกี่ยวข้องกับการใช้ Scenform
รายละเอียดเกี่ยวกับตัวอย่างเหล่านี้อยู่ในโปรเจ็กต์ตัวอย่างรูปแบบใน GitHub
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2022-09-26 UTC
[null,null,["อัปเดตล่าสุด 2022-09-26 UTC"],[[["\u003cp\u003eThese samples help developers quickly get started with Sceneform, showcasing key features with minimal setup.\u003c/p\u003e\n"],["\u003cp\u003eThey are categorized into SDK samples and usage samples, each serving different purposes and update schedules.\u003c/p\u003e\n"],["\u003cp\u003eSDK samples provide foundational knowledge of using Sceneform for tasks like AR session management, animations, face augmentation, and image augmentation.\u003c/p\u003e\n"],["\u003cp\u003eUsage samples offer solutions to specific developer questions and demonstrate more specialized Sceneform features, including chroma key video and video recording.\u003c/p\u003e\n"],["\u003cp\u003eAll samples are publicly accessible on GitHub and regularly updated to ensure relevance and functionality.\u003c/p\u003e\n"]]],["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"],null,["# Samples using Sceneform\n\nSDK samples\n-----------\n\nThese samples are intended to get developers up and running with Sceneform with\nminimal effort. They are intentionally small and highlight the key items needed\nin order to use Sceneform.\n\nThese samples are published in the\n[Sceneform SDK for Android](//github.com/google-ar/sceneform-android-sdk)\nrepository on GitHub. They are updated every release.\n\n- [HelloSceneform](//github.com/google-ar/sceneform-android-sdk/tree/v1.15.0/samples/hellosceneform) is the most straightforward of the samples, showing how to use [`ArFragment`](/sceneform/reference/com/google/ar/sceneform/ux/ArFragment) for automatically managing the ARCore session.\n- [Animation](//github.com/google-ar/sceneform-android-sdk/tree/v1.15.0/samples/animation) shows how to use models imported with animation data.\n- [AugmentedFaces](//github.com/google-ar/sceneform-android-sdk/tree/v1.15.0/samples/augmentedfaces) shows how to identify and apply textures and models to different regions and vertices of a face.\n- [Augmented Images](//github.com/google-ar/sceneform-android-sdk/tree/v1.15.0/samples/augmentedimage) demonstrates using ARCore Augmented Images API with Sceneform.\n- [Solar System](//github.com/google-ar/sceneform-android-sdk/tree/v1.15.0/samples/solarsystem) demonstrates loading multiple models and using local coordinate space to position and rotate objects.\n- [ChromaKey Video](//github.com/google-ar/sceneform-android-sdk/tree/v1.15.0/samples/chromakeyvideo) demonstrates using an [`ExternalTexture`](/sceneform/reference/com/google/ar/sceneform/rendering/ExternalTexture) and a custom material to display Chroma Keyed (green screen) video on a renderable.\n- [VideoRecording Sample](//github.com/google-ar/sceneform-android-sdk/tree/v1.15.0/samples/videorecording) shows how to use the sample `VideoRecording` class to capture Sceneform [`Sceneview`s](/sceneform/reference/com/google/ar/sceneform/SceneView) to a local video file.\n\nUsage samples\n-------------\n\nUsage samples are inspired by issues and questions from you, developers using\nSceneform. These samples are designed to show some specific aspect of Sceneform.\nThese samples are independent of the Sceneform SDK releases, and as such, are\nupdated at different times based on need or current topics related to using\nSceneform.\n\nDetails on these samples are located in the\n[sceneform-samples](//github.com/googlesamples/sceneform-samples)\nproject on GitHub."]]