Skip to content
import MediaLayerInteractionOptions from "@arcgis/core/views/3d/layers/support/MediaLayerInteractionOptions.js";
Inheritance:
MediaLayerInteractionOptionsAccessor
Since
ArcGIS Maps SDK for JavaScript 5.0

Options for when the media layer view is interactive in 3D. Configure the interaction tool and reshape behavior for media elements.

Constructors

Constructor

Constructor
Parameters
ParameterTypeDescriptionRequired
properties
See the properties table for a list of all the properties that may be passed into the constructor.

Properties

Any properties can be set, retrieved or listened to. See the Watch for changes topic.

declaredClass

readonlyinherited Property
Type
string
Inherited from: Accessor
Since
ArcGIS Maps SDK for JavaScript 4.7

The name of the class. The declared class name is formatted as esri.folder.className.

reshapeOptions

autocast Property
Type
MediaLayerInteractionReshapeOptions

Changes the behavior of the reshape tool.

tool

Property
Type
MediaLayerInteractionTool

The type of tool to use to interact with media elements.

ValueDescription
transformThe media element can be moved, scaled and rotated as a whole (default).
reshapeThe four corners of the media element can be moved individually.
Default value
"transform"

Type definitions

MediaLayerInteractionTool

Type definition
Type
"transform" | "reshape"