Skip To Content ArcGIS for Developers Sign In Dashboard

RendererSceneProperties Class

(Esri::ArcGISRuntime::RendererSceneProperties)

3D rendering properties for features or graphics in a Scene. More...

Header: #include <RendererSceneProperties>
Since: Esri::ArcGISRuntime 100.0

Public Functions

RendererSceneProperties(const QString &extrusionExpression, ExtrusionMode extrusionMode)
RendererSceneProperties(const QString &headingExpression, const QString &pitchExpression, const QString &rollExpression)
RendererSceneProperties(const RendererSceneProperties &other)
RendererSceneProperties(RendererSceneProperties &&other)
~RendererSceneProperties()
QString extrusionExpression() const
ExtrusionMode extrusionMode() const
QString headingExpression() const
bool isEmpty() const
QString pitchExpression() const
QString rollExpression() const
void setExtrusionExpression(const QString &extrusionExpression)
void setExtrusionMode(ExtrusionMode extrusionMode)
void setHeadingExpression(const QString &headingExpression)
void setPitchExpression(const QString &pitchExpression)
void setRollExpression(const QString &rollExpression)
RendererSceneProperties &operator=(const RendererSceneProperties &other)
RendererSceneProperties &operator=(RendererSceneProperties &&other)

Detailed Description

3D rendering properties for features or graphics in a Scene.

This class represents a group of renderer properties that only apply to features or graphics in an Scene.

Member Function Documentation

RendererSceneProperties::RendererSceneProperties(const QString &extrusionExpression, ExtrusionMode extrusionMode)

Constructor with an extrusionExpression and an extrusionMode.

RendererSceneProperties::RendererSceneProperties(const QString &headingExpression, const QString &pitchExpression, const QString &rollExpression)

Constructor with a headingExpression, a pitchExpression, and a rollExpression.

RendererSceneProperties::RendererSceneProperties(const RendererSceneProperties &other)

Copy constructor from other RendererSceneProperties.

RendererSceneProperties::RendererSceneProperties(RendererSceneProperties &&other)

Move constructor from other RendererSceneProperties.

RendererSceneProperties::~RendererSceneProperties()

Destructor.

QString RendererSceneProperties::extrusionExpression() const

Gets the extrusion expression.

See also setExtrusionExpression().

ExtrusionMode RendererSceneProperties::extrusionMode() const

Gets the extrusion mode.

See also setExtrusionMode().

QString RendererSceneProperties::headingExpression() const

Gets the heading expression.

See also setHeadingExpression().

bool RendererSceneProperties::isEmpty() const

Returns whether the class is empty.

A RendererSceneProperties is considered empty when it contains no set properties.

QString RendererSceneProperties::pitchExpression() const

Gets the pitch expression.

See also setPitchExpression().

QString RendererSceneProperties::rollExpression() const

Gets the roll expression.

See also setRollExpression().

void RendererSceneProperties::setExtrusionExpression(const QString &extrusionExpression)

Sets the extrusion expression to extrusionExpression.

An extrusion expression specifies the z-direction extrusion distance for the feature or graphic. The expression often contains the name of the attribute of the feature or graphic.

For example, the expression "[storeys] * 3.5" indicates that the renderer will look up the value of the "storeys" attribute and multiplies it by 3.5.

Note: This type of expression only works for extrusion, not for 3D rotations.

When extrusion is applied to points, they are always extruded as cylinders irrespective of the style.

See also extrusionExpression().

void RendererSceneProperties::setExtrusionMode(ExtrusionMode extrusionMode)

Sets the extrusion mode to extrusionMode.

See also extrusionMode().

void RendererSceneProperties::setHeadingExpression(const QString &headingExpression)

Sets the heading expression to headingExpression.

A heading expression specifies the value or attribute the renderer will use for the heading of the feature or graphic. For attributes, the name of the attribute should be in square brackets, such as "[heading]".

See also headingExpression().

void RendererSceneProperties::setPitchExpression(const QString &pitchExpression)

Sets the pitch expression to pitchExpression.

A pitch expression specifies the value or attribute the renderer will use for the pitch of the feature or graphic. For attributes, the name of the attribute should be in square brackets, such as "[pitch]".

See also pitchExpression().

void RendererSceneProperties::setRollExpression(const QString &rollExpression)

Sets the roll expression to rollExpression.

A roll expression specifies the value or attribute the renderer will use for the roll of the feature or graphic. For attributes, the name of the attribute should be in square brackets, such as "[roll]".

See also rollExpression().

RendererSceneProperties &RendererSceneProperties::operator=(const RendererSceneProperties &other)

Assignment operator from other RendererSceneProperties.

RendererSceneProperties &RendererSceneProperties::operator=(RendererSceneProperties &&other)

Move operator from other RendererSceneProperties.


Feedback on this topic?