Class Vertex.Builder
- java.lang.Object
-
- com.google.ar.sceneform.rendering.Vertex.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vertex
build()
Vertex.Builder
setColor(Color color)
Vertex.Builder
setNormal(Vector3 normal)
Vertex.Builder
setPosition(Vector3 position)
Vertex.Builder
setUvCoordinate(Vertex.UvCoordinate uvCoordinate)
-
-
-
Method Detail
-
setPosition
public Vertex.Builder setPosition(Vector3 position)
-
setNormal
public Vertex.Builder setNormal(@Nullable Vector3 normal)
-
setUvCoordinate
public Vertex.Builder setUvCoordinate(@Nullable Vertex.UvCoordinate uvCoordinate)
-
setColor
public Vertex.Builder setColor(@Nullable Color color)
-
build
public Vertex build()
-
-