Skip to content
  • IntegratedMeshLayer
  • class Esri::ArcGISRuntime::IntegratedMeshLayer

    An IntegratedMeshLayer represents a layer that can visualize an integrated mesh layer. An integrated mesh can represent built and natural 3D features, such as building walls, trees, valleys, and cliffs, with realistic textures and includes elevation information. More...

    Header: #include <IntegratedMeshLayer.h>
    Since: Esri::ArcGISRuntime 100.5
    Inherits: Esri::ArcGISRuntime::Layer

    Public Functions

    IntegratedMeshLayer(Esri::ArcGISRuntime::Item *item, QObject *parent = nullptr)
    IntegratedMeshLayer(const QUrl &url, QObject *parent = nullptr)
    virtual ~IntegratedMeshLayer() override
    (since Esri::ArcGISRuntime 100.6) double altitudeOffset() const
    (since Esri::ArcGISRuntime 100.6) void setAltitudeOffset(double altitudeOffset)
    QUrl url() const

    Detailed Description

    Relevant samples:

    Member Function Documentation

    [explicit] IntegratedMeshLayer::IntegratedMeshLayer(Esri::ArcGISRuntime::Item *item, QObject *parent = nullptr)

    Creates an integrated mesh layer object with a portal item.

    • item - The integrated mesh layer item (only PortalItem are supported).
    • parent - The optional parent QObject.

    See also PortalItem, PortalItem::PortalItem(const QUrl&, QObject*), and Layer::item.

    [explicit] IntegratedMeshLayer::IntegratedMeshLayer(const QUrl &url, QObject *parent = nullptr)

    Creates an Integrated Mesh layer object.

    • url - The URL to the service, scene layer package, or portal item.
    • parent - The optional parent QObject.

    If the specified URL is a portal item URL (see PortalItem::PortalItem(const QUrl&, QObject*) for the supported URL formats), the underlying PortalItem will be created and accessible through Layer::item.

    See also PortalItem, PortalItem::PortalItem(const QUrl&, QObject*), and Layer::item.

    [override virtual noexcept] IntegratedMeshLayer::~IntegratedMeshLayer()

    Destructor.

    [since Esri::ArcGISRuntime 100.6] double IntegratedMeshLayer::altitudeOffset() const

    Returns the altitudeOffset of this layer.

    This function was introduced in Esri::ArcGISRuntime 100.6.

    See also setAltitudeOffset().

    [since Esri::ArcGISRuntime 100.6] void IntegratedMeshLayer::setAltitudeOffset(double altitudeOffset)

    Sets the altitudeOffset of this layer.

    An altitude offset provides a simple mechanism to consistently modify the elevation of all features in the layer with a single value.

    This function was introduced in Esri::ArcGISRuntime 100.6.

    See also altitudeOffset().

    QUrl IntegratedMeshLayer::url() const

    Returns the URL of the integrated mesh layer.

    This method can't be called once the layer is loading else an ErrorType::CommonIllegalState error will occur.

    See also IntegratedMeshLayer(const QUrl&, QObject*).

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.