SceneModifications
require(["esri/layers/support/SceneModifications"], function(SceneModifications) { /* code goes here */ });
esri/layers/support/SceneModifications
A collection of SceneModification with polygons and types to apply client-side modifications. The SceneModifications could be applied to the IntegratedMeshLayer.modifications property.
Constructors
- new SceneModifications(properties)
- Parameter:properties Objectoptional
See the properties for a list of all the properties that may be passed into the constructor.
Property Overview
Name | Type | Summary | Class | |
---|---|---|---|---|
String | The name of the class. more details | more details | Accessor |
Property Details
The name of the class. The declared class name is formatted as
esri.folder.className
.
Method Overview
Name | Return Type | Summary | Class | |
---|---|---|---|---|
SceneModifications | Creates a clone of this object. more details | more details | SceneModifications | |
* | Creates a new instance of this class and initializes it with values from a JSON object generated from a product in the ArcGIS platform. more details | more details | SceneModifications | |
Boolean | Determines whether the passed value is a Collection. more details | more details | SceneModifications | |
Object | Creates a subclass of Collection containing a typed object. more details | more details | SceneModifications | |
Object | Converts an instance of this class to its ArcGIS portal JSON representation. more details | more details | SceneModifications |
Method Details
- clone(){SceneModifications}
Creates a clone of this object.
Returns:Type Description SceneModifications A clone of the SceneModifications instance that invoked this method.
- fromJSON(json){*}static
Creates a new instance of this class and initializes it with values from a JSON object generated from a product in the ArcGIS platform. The object passed into the input
json
parameter often comes from a response to a query operation in the REST API or a toJSON() method from another ArcGIS product. See the Using fromJSON() topic in the Guide for details and examples of when and how to use this function.Parameter:json ObjectA JSON representation of the instance in the ArcGIS format. See the ArcGIS REST API documentation for examples of the structure of various input JSON objects.
Returns:Type Description * Returns a new instance of this class.
- isCollection(value){Boolean}
Determines whether the passed value is a Collection.
Parameter:value *The value to be checked.
Returns:Type Description Boolean true if the test passes, false otherwise.
- ofType(type){Object}
Creates a subclass of Collection containing a typed object.
Parameter:type ObjectThe type to assign the Collection.
Returns:Type Description Object The typed collection. Example:require(["esri/core/Collection", "esri/geometry/Point"], function(Collection, Point){ var PointCollection = Collection.ofType(Point); var collection = new PointCollection(); collection.add([-100,40]); var point = collection.getItemAt(0); // point.x = -100; point.y = 40 });
- toJSON(){Object}
Converts an instance of this class to its ArcGIS portal JSON representation. See the Using fromJSON() guide topic for more information.
Returns:Type Description Object The ArcGIS portal JSON representation of an instance of this class.