Class PlaneFactory
- java.lang.Object
-
- com.google.ar.sceneform.rendering.PlaneFactory
-
public class PlaneFactory extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PlaneFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ModelRenderable
makePlane(Vector3 size, Vector3 center, Material material)
Creates aModelRenderable
in the shape of a plane with the given specifications.
-
-
-
Method Detail
-
makePlane
public static ModelRenderable makePlane(Vector3 size, Vector3 center, Material material)
Creates aModelRenderable
in the shape of a plane with the given specifications.- Parameters:
size
- the size of the constructed planecenter
- the center of the constructed planematerial
- the material to use for rendering the plane- Returns:
- renderable representing a plane with the given parameters
-
-