Enum LayerSceneProperties.SurfacePlacement
- java.lang.Object
-
- java.lang.Enum<LayerSceneProperties.SurfacePlacement>
-
- com.esri.arcgisruntime.mapping.view.LayerSceneProperties.SurfacePlacement
-
- All Implemented Interfaces:
Serializable
,Comparable<LayerSceneProperties.SurfacePlacement>
- Enclosing class:
- LayerSceneProperties
public static enum LayerSceneProperties.SurfacePlacement extends 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 ABSOLUTE
Positions objects' altitude using their z value and doesn't take surface elevation into effect.DRAPED
Deprecated.as of 100.7.0.DRAPED_BILLBOARDED
Ignores z values and drapes symbols onto the surface, billboarded to always face the camera.DRAPED_FLAT
Ignores z values and drapes symbols flat on the surface.RELATIVE
Treats the z values as relative to the surface altitude values.RELATIVE_TO_SCENE
Treats 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.SurfacePlacement
valueOf(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_BILLBOARDED
instead, or switch toDRAPED_FLAT
for 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_FLAT
and 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_FLAT
and 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_BILLBOARDED
and 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(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-