Skip to content
import Constraints from "@arcgis/core/views/3d/constraints/Constraints.js";
Inheritance:
ConstraintsAccessor
Since
ArcGIS Maps SDK for JavaScript 5.0

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.

altitude

autocast Property
Type
AltitudeConstraint

Specifies a constraint on the minimum and maximum allowed camera altitude.

Known Limitations

The altitude constraint is only supported in scenes with global viewing mode.

clipDistance

autocast Property
Type
ClipDistanceConstraint

Specifies the near and far webgl clip distances.

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.

tilt

autocast Property
Type
TiltConstraint

Specifies a constraint on the amount of allowed tilting of the view.

Methods

MethodSignatureClass
clone
inherited
clone(): this

clone

inherited Method
Signature
clone (): this
Inherited from: ClonableMixin

Creates a deep clone of this object. Any properties that store values by reference will be assigned copies of the referenced values on the cloned instance.

Returns
this

A deep clone of the class instance that invoked this method.