Page Summary
-
Sceneform rendering package provides classes and utilities for rendering 3D models, 2D Android views, and other visual elements in AR experiences.
-
Developers can control lighting, materials, textures, and animations to create realistic and interactive scenes.
-
ViewRenderable allows integration of existing Android UI elements into the AR scene, bridging the gap between 2D and 3D content.
-
ModelRenderable enables rendering of 3D models with support for animations and material properties.
-
Several utility classes like ShapeFactory and MaterialFactory are provided for creating common shapes and materials.
Interfaces
| IEngine | Engine interface to support multiple flavors of the getFilamentEngine filament engine. |
| LoadGltfListener | Interface callbacks for events that occur when loading a gltf file into a renderable. |
| ViewSizer | Interface for controlling the size of a ViewRenderable
in the Scene
. |
Classes
| AnimationData | Opaque container of animation data. |
| CleanupRegistry <T> | Maintains a ReferenceQueue
and executes a Runnable
after each object in the queue
is garbage collected. |
| Color | An RGBA color. |
| DpToMetersViewSizer | Controls the size of a ViewRenderable
in a Scene
by
defining how many dp (density-independent pixels) there are per meter. |
| ExternalTexture | Creates an Android SurfaceTexture
and Surface
that can be displayed by Sceneform. |
| FilamentEngineWrapper | Wraps calls to Filament engine. |
| FixedHeightViewSizer | Controls the size of a ViewRenderable
in a Scene
by
defining how tall it should be in meters. |
| FixedWidthViewSizer | Controls the size of a ViewRenderable
in a Scene
by
defining how wide it should be in meters. |
| HeadlessEngineWrapper | Interface for the swiftshader backed version of the Filament engine. |
| Light | Light property store. |
| Light.Builder | Factory class for Light
|
| Material | Represents a reference to a material. |
| MaterialFactory | Utility class used to construct default Material
s. |
| MaterialInternalDataGltfImpl | |
| ModelRenderable | Renders a 3D Model by attaching it to a Node
with setRenderable(Renderable)
. |
| ModelRenderable.Builder | Factory class for ModelRenderable
. |
| PlaneRenderer | Control rendering of ARCore planes. |
| Renderable | Base class for rendering in 3D space by attaching to a Node
with setRenderable(Renderable)
. |
| RenderableDefinition | Represents the visual information of a Renderable
. |
| RenderableDefinition.Builder | Factory class for RenderableDefinition
. |
| RenderableDefinition.Submesh | Represents a Submesh for a RenderableDefinition. |
| RenderableDefinition.Submesh.Builder | Factory class for RenderableDefinition.Submesh
. |
| ShapeFactory | Utility class used to dynamically construct ModelRenderable
s for various shapes. |
| Texture | Represents a reference to a texture. |
| Texture.Builder | Factory class for Texture
|
| Texture.Sampler | Controls what settings are used to sample Textures when rendering. |
| Texture.Sampler.Builder | Builder for constructing Sampler objects. |
| Vertex | Represents a Vertex for a RenderableDefinition
. |
| Vertex.Builder | Factory class for Vertex
. |
| Vertex.UvCoordinate | Represents a texture Coordinate for a Vertex. |
| ViewRenderable | Renders a 2D Android view in 3D space by attaching it to a Node
with setRenderable(Renderable)
. |
| ViewRenderable.Builder | Factory class for ViewRenderable
|
Enums
| Light.Type | Type of Light Source |
| LoadGltfListener.GltfLoadStage | Defines the current stage of the load operation, each value supersedes the previous. |
| Texture.Sampler.MagFilter | Options for Magnification Filter function. |
| Texture.Sampler.MinFilter | Options for Minification Filter function. |
| Texture.Sampler.WrapMode | Options for Wrap Mode function. |
| Texture.Usage | Type of Texture usage. |
| ViewRenderable.HorizontalAlignment | Controls the horizontal alignment of the ViewRenderable
relative to the Node
it is attached to. |
| ViewRenderable.VerticalAlignment | Controls the vertical alignment of the ViewRenderable
relative to the Node
it is attached to. |

