MCPcopy Create free account
hub / github.com/microsoft/SandDance / FirstPersonState1

Function FirstPersonState1

docs/app/js/sanddance-app.js:96622–96644  ·  view source on GitHub ↗
(_ref)

Source from the content-addressed store, hash-verified

96620 (0, _inheritsDefault.default)(FirstPersonState1, _ViewState);
96621 var _super = _createSuper(FirstPersonState1);
96622 function FirstPersonState1(_ref) {
96623 var _this;
96624 var width = _ref.width, height = _ref.height, _ref$position = _ref.position, position = _ref$position === void 0 ? DEFAULT_STATE.position : _ref$position, _ref$bearing = _ref.bearing, bearing = _ref$bearing === void 0 ? DEFAULT_STATE.bearing : _ref$bearing, _ref$pitch = _ref.pitch, pitch = _ref$pitch === void 0 ? DEFAULT_STATE.pitch : _ref$pitch, longitude = _ref.longitude, latitude = _ref.latitude, _ref$maxPitch = _ref.maxPitch, maxPitch = _ref$maxPitch === void 0 ? DEFAULT_STATE.maxPitch : _ref$maxPitch, _ref$minPitch = _ref.minPitch, minPitch = _ref$minPitch === void 0 ? DEFAULT_STATE.minPitch : _ref$minPitch, startBearing = _ref.startBearing, startPitch = _ref.startPitch, startZoomPosition = _ref.startZoomPosition, startZoom = _ref.startZoom;
96625 (0, _classCallCheckDefault.default)(this, FirstPersonState1);
96626 _this = _super.call(this, {
96627 width: width,
96628 height: height,
96629 position: position,
96630 bearing: bearing,
96631 pitch: pitch,
96632 longitude: longitude,
96633 latitude: latitude,
96634 maxPitch: maxPitch,
96635 minPitch: minPitch
96636 });
96637 _this._interactiveState = {
96638 startBearing: startBearing,
96639 startPitch: startPitch,
96640 startZoomPosition: startZoomPosition,
96641 startZoom: startZoom
96642 };
96643 return _this;
96644 }
96645 (0, _createClassDefault.default)(FirstPersonState1, [
96646 {
96647 key: "getInteractiveState",

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected