- Sceneform SDK for Android
was open sourced and archived ( github.com/google-ar/sceneform-android-sdk
) with version 1.16.0.
- This site ( developers.google.com/sceneform
) serves as the documentation archive for the previous version, Sceneform SDK for Android
1.15.0.
- Do not use version 1.17.0 of the Sceneform Maven artifacts
.
- The 1.17.1 Maven artifacts can be used. Other than the version, however, the 1.17.1 artifacts are identical to the 1.15.0 artifacts.
com.google.ar.sceneform.assets
Stay organized with collections
Save and categorize content based on your preferences.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-06-26 UTC."],[[["\u003cp\u003e\u003ccode\u003eRenderableSource\u003c/code\u003e facilitates importing glTF files into an \u003ccode\u003eInputStream\u003c/code\u003e for use with \u003ccode\u003eModelRenderable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRenderableSource.Builder\u003c/code\u003e is utilized for configuring and creating these import converters.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can control the placement of the local origin relative to the geometry using \u003ccode\u003eRenderableSource.RecenterMode\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRenderableSource.SourceType\u003c/code\u003e defines the variety of asset types that \u003ccode\u003eRenderableSource\u003c/code\u003e can load.\u003c/p\u003e\n"]]],["The provided content details components for handling 3D model rendering. `RenderableSource` facilitates importing glTF files from an `InputStream` for use with `setSource`. `RenderableSource.Builder` configures and builds a converter for this process. `RenderableSource.RecenterMode` specifies how the local origin is positioned relative to the geometry. Lastly, `RenderableSource.SourceType` defines the various asset types that `RenderableSource` can load. These elements work together to provide a framework for working with 3D assets.\n"],null,["# com.google.ar.sceneform.assets\n\n### Classes\n\n|----------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [RenderableSource](/sceneform/reference/com/google/ar/sceneform/assets/RenderableSource) | Provides support for importing a glTF file into an InputStream in a way that is appropriate for use with [setSource(Context, Callable)](/sceneform/reference/com/google/ar/sceneform/rendering/ModelRenderable.Builder#setSource(android.content.Context,%20java.util.concurrent.Callable\u003cjava.io.InputStream\u003e)). |\n| [RenderableSource.Builder](/sceneform/reference/com/google/ar/sceneform/assets/RenderableSource.Builder) | Builder used to configure and create a converter. |\n\n### Enums\n\n|--------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------|\n| [RenderableSource.RecenterMode](/sceneform/reference/com/google/ar/sceneform/assets/RenderableSource.RecenterMode) | Recenter modes that control placement of the local origin with respect to the geometry. |\n| [RenderableSource.SourceType](/sceneform/reference/com/google/ar/sceneform/assets/RenderableSource.SourceType) | Asset types that can be loaded by RenderableSource. |"]]