Class RenderableDefinition.Submesh
- java.lang.Object
-
- com.google.ar.sceneform.rendering.RenderableDefinition.Submesh
-
- Enclosing class:
- RenderableDefinition
public static class RenderableDefinition.Submesh extends java.lang.Object
Represents a Submesh for a RenderableDefinition. Each RenderableDefinition may have multiple Submeshes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RenderableDefinition.Submesh.Builder
Factory class forRenderableDefinition.Submesh
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RenderableDefinition.Submesh.Builder
builder()
Material
getMaterial()
java.lang.String
getName()
java.util.List<java.lang.Integer>
getTriangleIndices()
void
setMaterial(Material material)
void
setName(java.lang.String name)
void
setTriangleIndices(java.util.List<java.lang.Integer> triangleIndices)
-
-
-
Method Detail
-
setTriangleIndices
public void setTriangleIndices(java.util.List<java.lang.Integer> triangleIndices)
-
getTriangleIndices
public java.util.List<java.lang.Integer> getTriangleIndices()
-
setMaterial
public void setMaterial(Material material)
-
getMaterial
public Material getMaterial()
-
setName
public void setName(java.lang.String name)
-
getName
@Nullable public java.lang.String getName()
-
builder
public static RenderableDefinition.Submesh.Builder builder()
-
-