Skip To Content ArcGIS for Developers Sign In Dashboard

ModelSceneSymbol QML Type

A 3D marker symbol based on 3D models. More...

Import Statement: import Esri.ArcGISRuntime 100.6
Since: Esri.ArcGISRuntime 100.0
Inherits:

MarkerSceneSymbol

Properties

Signals

Methods

Detailed Description

A model symbol is used to provide a realistic three-dimensional visualization to symbolize scene features. Create a ModelSceneSymbol using a 3D model file, passing the URL of the file and a scale factor to the model symbol constructor. The supported model file types include Collada (.dae), 3D Max (.3ds), Blender 3d (.blend), and the formats listed in the Open Asset Import Library (Assimp). Depending on the model file's default orientation, you may have to rotate the symbol to get your model in the desired orientation. Note that ModelSceneSymbol will not display using static rendering mode.

This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.

TypeDefault Property
Credentialcredential
RequestConfigurationrequestConfiguration (since Esri.ArcGISRuntime 100.1)

Example:

Create a ModelSceneSymbol from a *.lwo file:

ModelSceneSymbol {
    id: mms
    url: dataPath + "3D/Bristol/Collada/Bristol.dae"
    scale: 5.0
    heading: 180
}

See also JsonSerializable, Loadable, and RemoteResource.

Property Documentation

[default] credential : Credential

The Credential of the symbol.


loadError : Error

Returns the load error (read-only).

Note: load errors are also reported on the error property and emit the errorChanged signal.

See also Loadable.


loadStatus : Enums.LoadStatus

Returns the load status (read-only).

See also Loadable and Enums.LoadStatus.


[default] requestConfiguration : RequestConfiguration

The configuration parameters used for network requests sent by this symbol.

This QML property was introduced in Esri.ArcGISRuntime 100.1.


scale : real

The scale factor of the symbol.


symbolSizeUnits : Enums.SymbolSizeUnits

The symbol size units of the model symbol.

Default is Enums.SymbolSizeUnitsMeters. Renders the symbol by interpreting the size values as DIPs or Meters.

This QML property was introduced in Esri.ArcGISRuntime 100.5.

See also Enums.SymbolSizeUnits.


url : url

The URL of the symbol.


Signal Documentation

credentialChanged()

Emitted when the credential property changes.


loadErrorChanged()

Emitted when the loadError property changes.

Note: load errors are also reported on the error property and emit the errorChanged signal.

See also Loadable and Object.


loadStatusChanged()

Emitted when the loadStatus property changes.

See also Loadable.


requestConfigurationChanged()

Emitted when the requestConfiguration property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.1.


scaleChanged()

Emitted when the scale property changes.


symbolSizeUnitsChanged()

Emitted when the symbolSizeUnits property changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.5.


urlChanged()

Emitted when the url property changes.


Method Documentation

void cancelLoad()

See also Loadable.


void load()

See also Loadable.


void retryLoad()

See also Loadable.



Feedback on this topic?