• 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.

RenderableDefinition.Submesh.Builder

public static final class RenderableDefinition.Submesh.Builder

Factory class for RenderableDefinition.Submesh.

Public Constructors

Public Methods

RenderableDefinition.Submesh
build()
RenderableDefinition.Submesh.Builder
setMaterial(Material material)
RenderableDefinition.Submesh.Builder
setName(String name)
RenderableDefinition.Submesh.Builder
setTriangleIndices(List<Integer> triangleIndices)

Inherited Methods

Public Constructors

public RenderableDefinition.Submesh.Builder ()

Public Methods

public RenderableDefinition.Submesh.Builder setMaterial (Material material)

Parameters
material

public RenderableDefinition.Submesh.Builder setName (String name)

Parameters
name

public RenderableDefinition.Submesh.Builder setTriangleIndices (List<Integer> triangleIndices)

Parameters
triangleIndices