UNPKG

@arcgis/core

Version:

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

6 lines (5 loc) 1.27 kB
/* All material copyright ESRI, All Rights Reserved, unless otherwise specified. See https://js.arcgis.com/4.32/esri/copyright.txt for details. */ import{_ as t}from"../../../../chunks/tslib.es6.js";import e from"../../../../core/Accessor.js";import{property as r}from"../../../../core/accessorSupport/decorators/property.js";import"../../../../core/has.js";import"../../../../core/Logger.js";import"../../../../core/RandomLCG.js";import{subclass as o}from"../../../../core/accessorSupport/decorators/subclass.js";var s;!function(t){t[t.Ready=0]="Ready",t[t.Rejected=1]="Rejected",t[t.Running=2]="Running",t[t.Stopped=3]="Stopped",t[t.Finished=4]="Finished"}(s||(s={}));let n=class extends e{constructor(t){super(t),this.state=s.Ready}get running(){return this.state===s.Running}get isInteractive(){return!1}get canStop(){return!1}stopController(){return!!this.canStop&&(this.state=s.Stopped,!0)}finishController(){this.state=s.Finished}get steppingFinished(){return!1}};t([r({constructOnly:!0})],n.prototype,"view",void 0),t([r({readOnly:!0})],n.prototype,"running",null),t([r()],n.prototype,"state",void 0),t([r({readOnly:!0})],n.prototype,"isInteractive",null),n=t([o("esri.views.3d.state.controllers.CameraController")],n);export{n as CameraController,s as State};