@doegis/core
Version:
DOE GIS API
3 lines (1 loc) • 1.08 kB
JavaScript
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/accessorSupport/ensureType.js";import"../../../../core/arrayUtils.js";import{subclass as o}from"../../../../core/accessorSupport/decorators/subclass.js";var s;!function(t){t.Ready="ready",t.Rejected="rejected",t.Running="running",t.Stopped="stopped",t.Finished="finished"}(s||(s={}));let n=class extends e{constructor(t){super(t),this.state=s.Ready}get active(){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,"active",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};