ModelSceneSymbol QML Type
Used to display Point or Multipoint GeoElements in a scene using a 3D model. More...
Import Statement: | import Esri.ArcGISRuntime 100.9 |
Since: | Esri.ArcGISRuntime 100.0 |
Inherits: |
Properties
- credential : Credential
- loadError : Error
- loadStatus : Enums.LoadStatus
- requestConfiguration : RequestConfiguration
- scale : real
- symbolSizeUnits : Enums.SymbolSizeUnits
- url : url
Signals
- credentialChanged()
- loadErrorChanged()
- loadStatusChanged()
- requestConfigurationChanged()
- scaleChanged()
- symbolSizeUnitsChanged()
- urlChanged()
Methods
- void cancelLoad()
- void load()
- void retryLoad()
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. 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. The symbol will be positioned using the centroid of the model object, and this may not be the same as the center of its bounding extent. Refer to the Symbol types topic in the developers guide for information about supported 3D model types.
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.
Type | Default Property |
---|---|
Credential | credential |
RequestConfiguration | requestConfiguration (since Esri.ArcGISRuntime 100.1) |
Example:
Create a ModelSceneSymbol from a *.dae 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.
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 property was introduced in Esri.ArcGISRuntime 100.1.
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 property was introduced in Esri.ArcGISRuntime 100.5.
See also Enums.SymbolSizeUnits.
Signal Documentation
Emitted when the credential property changes.
Note: The corresponding handler is onCredentialChanged
.
Emitted when the loadStatus property changes.
Note: The corresponding handler is onLoadStatusChanged
.
See also Loadable.
Emitted when the requestConfiguration property changes.
Note: The corresponding handler is onRequestConfigurationChanged
.
This signal was introduced in Esri.ArcGISRuntime 100.1.
Emitted when the scale property changes.
Note: The corresponding handler is onScaleChanged
.
Emitted when the symbolSizeUnits property changes.
Note: The corresponding handler is onSymbolSizeUnitsChanged
.
This signal was introduced in Esri.ArcGISRuntime 100.5.
Emitted when the url property changes.
Note: The corresponding handler is onUrlChanged
.
Method Documentation
See also Loadable.
See also Loadable.
See also Loadable.