com.google.ar.sceneform

  • Sceneform provides core components like Node , Scene , and SceneView to construct and manage 3D scenes in AR experiences.

  • Various listener interfaces, such as OnTapListener and OnUpdateListener , enable handling user interactions and scene updates.

  • Specialized nodes like AnchorNode and SkeletonNode offer functionalities for anchoring content to the real world and manipulating 3D models.

  • ArSceneView bridges the integration with ARCore, rendering the scene and enabling interaction with the augmented reality environment.

  • Utility classes such as Camera , FrameTime , and HitTestResult provide essential tools for controlling viewpoint, accessing time information, and processing user interactions.

Interfaces

Node.LifecycleListener Interface definition for callbacks to be invoked when node lifecycle events occur. 
Node.OnTapListener Interface definition for a callback to be invoked when a node is tapped. 
Node.OnTouchListener Interface definition for a callback to be invoked when a touch event is dispatched to this node. 
Node.TransformChangedListener Interface definition for callbacks to be invoked when the transformation of the node changes. 
Scene.OnPeekTouchListener Interface definition for a callback to be invoked when a touch event is dispatched to a scene. 
Scene.OnTouchListener Interface definition for a callback to be invoked when a touch event is dispatched to a scene. 
Scene.OnUpdateListener Interface definition for a callback to be invoked once per frame immediately before the scene is updated. 
SceneView.AnimationTimeTransformer Defines a transform from Choreographer time to animation time. 

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. 
Design a Mobile Site
View Site in Mobile | Classic
Share by: