ModelSceneSymbol class final
Used to display point or multipoint geoelements in a scene using a 3D model.
By default, the symbol will be positioned using the centroid of the model object. Note that this may not be the same as the center of its bounding extent. Model scene symbols cannot be used with a static graphics rendering mode (GraphicsRenderingMode.static).
The supported model file types are:
- 3D Max (.3ds)
- Collada (.dae)
- Filmbox (.fbx)
- GL Transmission Format (.gltf, .glb)
- Wavefront (.obj)
Depending on the model's default orientation, you may have to change the heading, pitch, and roll of the symbol to display the model in the desired orientation.
- Inheritance
-
- Object
- ArcGISSymbol
- MarkerSceneSymbol
- ModelSceneSymbol
- Mixed-in types
Constructors
- ModelSceneSymbol.withUri({required Uri uri, double scale = 1.0})
-
Creates a model scene symbol from a URI to a 3D model file along with a
scale.
factory
Properties
- anchorPosition ↔ SceneSymbolAnchorPosition
-
The anchor position of the simple marker scene symbol.
getter/setter pairinherited
- color ↔ Color
-
The symbol color of the simple marker scene symbol.
getter/setter pairinherited
- depth ↔ double
-
The depth (in meters) of the simple marker scene symbol.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- heading ↔ double
-
The heading (in degrees) of the scene marker symbol.
getter/setter pairinherited
- height ↔ double
-
The height (in meters) of the simple marker scene symbol.
getter/setter pairinherited
- loadError → ArcGISException?
-
The load error.
no setterinherited
- loadStatus → LoadStatus
-
The load status.
no setterinherited
-
onLoadStatusChanged
→ Stream<
LoadStatus> -
A stream that reports changes to the LoadStatus.
no setterinherited
- pitch ↔ double
-
The pitch (in degrees) of the scene marker symbol.
getter/setter pairinherited
- roll ↔ double
-
The roll (in degrees) of the scene marker symbol.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- symbolSizeUnits ↔ SymbolSizeUnits
-
The size unit of the model scene symbol.
getter/setter pair
- uri → Uri
-
The URI of the model scene symbol.
no setter
- width ↔ double
-
The width (in meters) of the simple marker scene symbol.
getter/setter pairinherited
Methods
-
cancelLoad(
) → void -
Cancels loading metadata for the object.
inherited
-
clone(
) → ArcGISSymbol -
Clones the ArcGISSymbol.
inherited
-
createSwatch(
{required double screenScale, double width = 0, double height = 0, Color backgroundColor = Colors.transparent}) → Future< ArcGISImage> -
Creates a swatch image using the provided width, height, screen scale, and
optional background color.
inherited
-
createSwatchWithGeometry(
{required double screenScale, required double width, required double height, required Geometry geometry, Color backgroundColor = Colors.transparent}) → Future< ArcGISImage> -
Creates a swatch image using the provided geometry, width, height, screen
scale, and optional background color.
inherited
-
load(
) → Future< void> -
Loads the metadata for the object asynchronously.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
retryLoad(
) → Future< void> -
Loads or retries loading metadata for the object asynchronously.
inherited
-
toJson(
) → Map< String, dynamic> -
Returns a JSON representation of this Object in the data type used by jsonDecode.
inherited
-
toJsonString(
) → String -
Returns a JSON representation of this Object as a String.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited