Contains 3D-specific rendering properties for a layer. More...
Header: | #include <LayerSceneProperties.h> |
Since: | Esri::ArcGISRuntime 100.0 |
This class was introduced in Esri::ArcGISRuntime 100.0.
Public Functions
LayerSceneProperties(Esri::ArcGISRuntime::LayerSceneProperties &&other) | |
LayerSceneProperties(const Esri::ArcGISRuntime::LayerSceneProperties &other) | |
LayerSceneProperties(Esri::ArcGISRuntime::SurfacePlacement surfacePlacement) | |
Esri::ArcGISRuntime::LayerSceneProperties & | operator=(Esri::ArcGISRuntime::LayerSceneProperties &&other) |
Esri::ArcGISRuntime::LayerSceneProperties & | operator=(const Esri::ArcGISRuntime::LayerSceneProperties &other) |
~LayerSceneProperties() | |
double | altitudeOffset() const |
bool | isEmpty() const |
void | setAltitudeOffset(double altitudeOffset) |
void | setSurfacePlacement(Esri::ArcGISRuntime::SurfacePlacement surfacePlacement) |
Esri::ArcGISRuntime::SurfacePlacement | surfacePlacement() const |
Detailed Description
This class groups properties that are specific for rendering in 3D. This enables separation of the properties required for 2D and 3D and prevents inadvertent setting of 3D properties in 2D mode.
See also GraphicsOverlay and Layer.
Member Function Documentation
LayerSceneProperties::LayerSceneProperties (Esri::ArcGISRuntime::LayerSceneProperties &&other)
Move constructor from other.
LayerSceneProperties::LayerSceneProperties (const Esri::ArcGISRuntime::LayerSceneProperties &other)
Copy constructor from other.
LayerSceneProperties::LayerSceneProperties (Esri::ArcGISRuntime::SurfacePlacement surfacePlacement )
Contructs a LayerSceneProperties with a specific surface placement
- surfacePlacement - The SurfacePlacement type to use so that features can be rendered at the desired elevation.
Esri::ArcGISRuntime::LayerSceneProperties &LayerSceneProperties::operator=(Esri::ArcGISRuntime::LayerSceneProperties &&other)
Move operator from other.
Esri::ArcGISRuntime::LayerSceneProperties &LayerSceneProperties::operator=(const Esri::ArcGISRuntime::LayerSceneProperties &other)
Assignment operator from other.
LayerSceneProperties::~LayerSceneProperties ()
Destructor.
double LayerSceneProperties::altitudeOffset () const
Returns the altitudeOffset from the scene properties of the layer.
This function was introduced in Esri::ArcGISRuntime 100.6.
See also setAltitudeOffset().
bool LayerSceneProperties::isEmpty () const
Gets whether the object is empty.
Returns true
if empty.
void LayerSceneProperties::setAltitudeOffset (double altitudeOffset )
Sets the altitudeOffset in the scene properties of the layer.
This function was introduced in Esri::ArcGISRuntime 100.6.
See also altitudeOffset().
void LayerSceneProperties::setSurfacePlacement (Esri::ArcGISRuntime::SurfacePlacement surfacePlacement )
Sets the SurfacePlacement.
- surfacePlacement - The SurfacePlacement to set.
See also surfacePlacement().
Esri::ArcGISRuntime::SurfacePlacement LayerSceneProperties::surfacePlacement () const
Gets the SurfacePlacement.
Returns the SurfacePlacement enumeration that specifies how the surface defines altitude.
See also setSurfacePlacement().