MaterialFillSymbolLayer Class

  • MaterialFillSymbolLayer
  • class Esri::ArcGISRuntime::MaterialFillSymbolLayer

    A fill used to render 3D volumetric meshes. It can also render the surfaces of 2D polygon geometries in a scene view. More...

    Header: #include <MaterialFillSymbolLayer.h>
    Since: Esri::ArcGISRuntime 200.5
    Inherits: Esri::ArcGISRuntime::FillSymbolLayer

    Public Functions

    MaterialFillSymbolLayer(QObject *parent = nullptr)
    MaterialFillSymbolLayer(const QColor &color, QObject *parent = nullptr)
    virtual ~MaterialFillSymbolLayer() override
    QColor color() const
    Esri::ArcGISRuntime::ColorMixMode colorMixMode() const
    Esri::ArcGISRuntime::SymbolLayerEdges3d *edges() const
    void setColor(const QColor &color)
    void setColorMixMode(Esri::ArcGISRuntime::ColorMixMode colorMixMode)
    void setEdges(Esri::ArcGISRuntime::SymbolLayerEdges3d *edges)

    Detailed Description

    A MaterialFillSymbolLayer is a symbol layer used to shade a geometry with a material that defines a color by blending the color property with the geometry's color/texture information based on the selected ColorMixMode.

    Member Function Documentation

    [explicit] MaterialFillSymbolLayer::MaterialFillSymbolLayer(QObject *parent = nullptr)

    Creates a material fill symbol layer with default values for color (white = RGBA(255, 255, 255, 255)), color mix mode (ColorMixMode::Multiply), and edges (nullptr).

    • parent - The optional parent QObject.

    With the default color and color mix mode, the color mixing result is identical to the original color/texture of the meshes or geometries.

    [explicit] MaterialFillSymbolLayer::MaterialFillSymbolLayer(const QColor &color, QObject *parent = nullptr)

    Creates a material fill symbol layer with a given color, and default values for color mix mode (ColorMixMode::Multiply) and edges (nullptr).

    • color - The color of the material fill symbol layer.
    • parent - The optional parent QObject.

    [override virtual] MaterialFillSymbolLayer::~MaterialFillSymbolLayer()

    Destructor.

    QColor MaterialFillSymbolLayer::color() const

    Returns the QColor used in the symbol layer's material fill.

    The alpha value of the color sets the transparency of the material fill. If alpha is 255 for an RGB color then the material fill is opaque. If a color is not explicitly set, the default is white, RGBA(255, 255, 255, 255).

    See also setColor().

    Esri::ArcGISRuntime::ColorMixMode MaterialFillSymbolLayer::colorMixMode() const

    Returns specifies how the material color is applied to the geometry's color/texture.

    This property applies only to MultilayerMeshSymbol. The default value is ColorMixMode::Multiply.

    See also setColorMixMode().

    Esri::ArcGISRuntime::SymbolLayerEdges3d *MaterialFillSymbolLayer::edges() const

    Returns specifies the contour edges. Currently only applies to MultilayerMeshSymbol.

    See also setEdges().

    void MaterialFillSymbolLayer::setColor(const QColor &color)

    Sets the color to color.

    See also color.

    void MaterialFillSymbolLayer::setColorMixMode(Esri::ArcGISRuntime::ColorMixMode colorMixMode)

    Sets the colorMixMode to colorMixMode.

    See also colorMixMode.

    void MaterialFillSymbolLayer::setEdges(Esri::ArcGISRuntime::SymbolLayerEdges3d *edges)

    Sets the edges to edges.

    See also edges.

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