Class RenderableDefinition.Submesh.Builder
- java.lang.Object
-
- com.google.ar.sceneform.rendering.RenderableDefinition.Submesh.Builder
-
- Enclosing class:
- RenderableDefinition.Submesh
public static final class RenderableDefinition.Submesh.Builder extends java.lang.Object
Factory class forRenderableDefinition.Submesh
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RenderableDefinition.Submesh
build()
RenderableDefinition.Submesh.Builder
setMaterial(Material material)
RenderableDefinition.Submesh.Builder
setName(java.lang.String name)
RenderableDefinition.Submesh.Builder
setTriangleIndices(java.util.List<java.lang.Integer> triangleIndices)
-
-
-
Method Detail
-
setTriangleIndices
public RenderableDefinition.Submesh.Builder setTriangleIndices(java.util.List<java.lang.Integer> triangleIndices)
-
setName
public RenderableDefinition.Submesh.Builder setName(java.lang.String name)
-
setMaterial
public RenderableDefinition.Submesh.Builder setMaterial(Material material)
-
build
public RenderableDefinition.Submesh build()
-
-