- 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
Stay organized with collections
Save and categorize content based on your preferences.
Interfaces
Classes
AnchorNode
|
Node that is automatically positioned in world space based on an ARCore Anchor. |
ArSceneView
|
A SurfaceView that integrates with ARCore and renders a scene. |
Camera
|
Represents a virtual camera, which determines the perspective through which the scene is viewed. |
FrameTime
|
Provides time information for the current frame. |
HitTestResult
|
Stores the results of calls to Scene.hitTest and Scene.hitTestAll. |
Node
|
A Node represents a transformation within the scene graph's hierarchy. |
NodeParent
|
Base class for all classes that can contain a set of nodes as children. |
Scene
|
The Sceneform Scene maintains the scene graph, a hierarchical organization of a scene's content. |
SceneView
|
A Sceneform SurfaceView that manages rendering and interaction with the scene. |
SkeletonNode
|
A Node
that provides mappings between the bones of a skinned ModelRenderable
and
a set of Node
s. |
Sun
|
Represents the "sun" - the default directional light in the scene. |
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\u003eSceneform provides core components like \u003ccode\u003eNode\u003c/code\u003e, \u003ccode\u003eScene\u003c/code\u003e, and \u003ccode\u003eSceneView\u003c/code\u003e to construct and manage 3D scenes in AR experiences.\u003c/p\u003e\n"],["\u003cp\u003eVarious listener interfaces, such as \u003ccode\u003eOnTapListener\u003c/code\u003e and \u003ccode\u003eOnUpdateListener\u003c/code\u003e, enable handling user interactions and scene updates.\u003c/p\u003e\n"],["\u003cp\u003eSpecialized nodes like \u003ccode\u003eAnchorNode\u003c/code\u003e and \u003ccode\u003eSkeletonNode\u003c/code\u003e offer functionalities for anchoring content to the real world and manipulating 3D models.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eArSceneView\u003c/code\u003e bridges the integration with ARCore, rendering the scene and enabling interaction with the augmented reality environment.\u003c/p\u003e\n"],["\u003cp\u003eUtility classes such as \u003ccode\u003eCamera\u003c/code\u003e, \u003ccode\u003eFrameTime\u003c/code\u003e, and \u003ccode\u003eHitTestResult\u003c/code\u003e provide essential tools for controlling viewpoint, accessing time information, and processing user interactions.\u003c/p\u003e\n"]]],["The content defines interfaces and classes for managing interactions and rendering within a scene. Interfaces include callbacks for node lifecycle events, tap and touch actions, and transformation changes. Scene interfaces handle touch events and updates before rendering. Classes describe nodes positioned with ARCore anchors, scene views for rendering, camera perspectives, frame time information, hit test results, and hierarchical node organization. Additional classes manage scene content, skeletal animations, and default lighting.\n"],null,["# com.google.ar.sceneform\n\n### Interfaces\n\n|-----------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------|\n| [Node.LifecycleListener](/sceneform/reference/com/google/ar/sceneform/Node.LifecycleListener) | Interface definition for callbacks to be invoked when node lifecycle events occur. |\n| [Node.OnTapListener](/sceneform/reference/com/google/ar/sceneform/Node.OnTapListener) | Interface definition for a callback to be invoked when a node is tapped. |\n| [Node.OnTouchListener](/sceneform/reference/com/google/ar/sceneform/Node.OnTouchListener) | Interface definition for a callback to be invoked when a touch event is dispatched to this node. |\n| [Node.TransformChangedListener](/sceneform/reference/com/google/ar/sceneform/Node.TransformChangedListener) | Interface definition for callbacks to be invoked when the transformation of the node changes. |\n| [Scene.OnPeekTouchListener](/sceneform/reference/com/google/ar/sceneform/Scene.OnPeekTouchListener) | Interface definition for a callback to be invoked when a touch event is dispatched to a scene. |\n| [Scene.OnTouchListener](/sceneform/reference/com/google/ar/sceneform/Scene.OnTouchListener) | Interface definition for a callback to be invoked when a touch event is dispatched to a scene. |\n| [Scene.OnUpdateListener](/sceneform/reference/com/google/ar/sceneform/Scene.OnUpdateListener) | Interface definition for a callback to be invoked once per frame immediately before the scene is updated. |\n| [SceneView.AnimationTimeTransformer](/sceneform/reference/com/google/ar/sceneform/SceneView.AnimationTimeTransformer) | Defines a transform from [Choreographer](https://developer.android.com/reference/android/view/Choreographer) time to animation time. |\n\n### Classes\n\n|-----------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [AnchorNode](/sceneform/reference/com/google/ar/sceneform/AnchorNode) | Node that is automatically positioned in world space based on an ARCore Anchor. |\n| [ArSceneView](/sceneform/reference/com/google/ar/sceneform/ArSceneView) | A SurfaceView that integrates with ARCore and renders a scene. |\n| [Camera](/sceneform/reference/com/google/ar/sceneform/Camera) | Represents a virtual camera, which determines the perspective through which the scene is viewed. |\n| [FrameTime](/sceneform/reference/com/google/ar/sceneform/FrameTime) | Provides time information for the current frame. |\n| [HitTestResult](/sceneform/reference/com/google/ar/sceneform/HitTestResult) | Stores the results of calls to Scene.hitTest and Scene.hitTestAll. |\n| [Node](/sceneform/reference/com/google/ar/sceneform/Node) | A Node represents a transformation within the scene graph's hierarchy. |\n| [NodeParent](/sceneform/reference/com/google/ar/sceneform/NodeParent) | Base class for all classes that can contain a set of nodes as children. |\n| [Scene](/sceneform/reference/com/google/ar/sceneform/Scene) | The Sceneform Scene maintains the scene graph, a hierarchical organization of a scene's content. |\n| [SceneView](/sceneform/reference/com/google/ar/sceneform/SceneView) | A Sceneform SurfaceView that manages rendering and interaction with the scene. |\n| [SkeletonNode](/sceneform/reference/com/google/ar/sceneform/SkeletonNode) | A [Node](/sceneform/reference/com/google/ar/sceneform/Node) that provides mappings between the bones of a skinned [ModelRenderable](/sceneform/reference/com/google/ar/sceneform/rendering/ModelRenderable) and a set of [Node](/sceneform/reference/com/google/ar/sceneform/Node)s. |\n| [Sun](/sceneform/reference/com/google/ar/sceneform/Sun) | Represents the \"sun\" - the default directional light in the scene. |"]]