Enum PlaneRenderer.PlaneRendererMode
- java.lang.Object
-
- java.lang.Enum<PlaneRenderer.PlaneRendererMode>
-
- com.google.ar.sceneform.rendering.PlaneRenderer.PlaneRendererMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PlaneRenderer.PlaneRendererMode>
- Enclosing class:
- PlaneRenderer
public static enum PlaneRenderer.PlaneRendererMode extends java.lang.Enum<PlaneRenderer.PlaneRendererMode>
Use this enum to configure the Plane Rendering. For performance reasons use
RENDER_TOP_MOST
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RENDER_ALL
Render all possiblePlane
s which are visible to the camera.RENDER_TOP_MOST
Render only the top mostPlane
which is visible to the camera.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PlaneRenderer.PlaneRendererMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PlaneRenderer.PlaneRendererMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RENDER_ALL
public static final PlaneRenderer.PlaneRendererMode RENDER_ALL
Render all possiblePlane
s which are visible to the camera.
-
RENDER_TOP_MOST
public static final PlaneRenderer.PlaneRendererMode RENDER_TOP_MOST
Render only the top mostPlane
which is visible to the camera.
-
-
Method Detail
-
values
public static PlaneRenderer.PlaneRendererMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PlaneRenderer.PlaneRendererMode c : PlaneRenderer.PlaneRendererMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PlaneRenderer.PlaneRendererMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-