Enum LayerSceneProperties.SurfacePlacement
- java.lang.Object
-
- java.lang.Enum<LayerSceneProperties.SurfacePlacement>
-
- com.esri.arcgisruntime.mapping.view.LayerSceneProperties.SurfacePlacement
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<LayerSceneProperties.SurfacePlacement>
- Enclosing class:
- LayerSceneProperties
public static enum LayerSceneProperties.SurfacePlacement extends java.lang.Enum<LayerSceneProperties.SurfacePlacement>
Handles the altitude of objects from a layer or graphics overlay in 3D space.- Since:
- 100.0.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABSOLUTEPositions objects' altitude using their z value and doesn't take surface elevation into effect.DRAPEDDeprecated.as of 100.7.0.DRAPED_BILLBOARDEDIgnores z values and drapes symbols onto the surface, billboarded to always face the camera.DRAPED_FLATIgnores z values and drapes symbols flat on the surface.RELATIVETreats the z values as relative to the surface altitude values.RELATIVE_TO_SCENETreats the z values as relative to the scene altitude values.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LayerSceneProperties.SurfacePlacementvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static LayerSceneProperties.SurfacePlacement[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DRAPED
@Deprecated public static final LayerSceneProperties.SurfacePlacement DRAPED
Deprecated.as of 100.7.0. UseDRAPED_BILLBOARDEDinstead, or switch toDRAPED_FLATfor flat-on-surface draping.Ignores z values and drapes symbols onto the surface, billboarded to always face the camera. In the case of aModelSceneSymbol, there is no difference in behavior betweenDRAPED_FLATand this enum value.
-
ABSOLUTE
public static final LayerSceneProperties.SurfacePlacement ABSOLUTE
Positions objects' altitude using their z value and doesn't take surface elevation into effect.
-
RELATIVE
public static final LayerSceneProperties.SurfacePlacement RELATIVE
Treats the z values as relative to the surface altitude values.
-
DRAPED_BILLBOARDED
public static final LayerSceneProperties.SurfacePlacement DRAPED_BILLBOARDED
Ignores z values and drapes symbols onto the surface, billboarded to always face the camera. In the case of aModelSceneSymbol, there is no difference in behavior betweenDRAPED_FLATand this enum value.- Since:
- 100.7.0
-
RELATIVE_TO_SCENE
public static final LayerSceneProperties.SurfacePlacement RELATIVE_TO_SCENE
Treats the z values as relative to the scene altitude values.- Since:
- 100.7.0
-
DRAPED_FLAT
public static final LayerSceneProperties.SurfacePlacement DRAPED_FLAT
Ignores z values and drapes symbols flat on the surface. In the case of aModelSceneSymbol, there is no difference in behavior betweenDRAPED_BILLBOARDEDand this enum value.- Since:
- 100.7.0
-
-
Method Detail
-
values
public static LayerSceneProperties.SurfacePlacement[] 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 (LayerSceneProperties.SurfacePlacement c : LayerSceneProperties.SurfacePlacement.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LayerSceneProperties.SurfacePlacement 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
-
-