| | |
| | | this.queryCrn(); |
| | | this.crnMove(); |
| | | this.querySta(); |
| | | this.staChange(); |
| | | } |
| | | this.initScene = function () { |
| | | this.scene = new THREE.Scene(); |
| | |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | this.staChange = function () { |
| | | for (let staTask of this.staTasks) { |
| | | staTask.change(); |
| | | } |
| | | } |
| | | |
| | |
| | | that.object = object; |
| | | |
| | | that.no = 0; |
| | | that.isDel = false; |
| | | that.readyIn = false; |
| | | that.run = false; |
| | | that.loaded = 0; |
| | |
| | | if (!that.position && item) { |
| | | that.position = item.position; |
| | | } |
| | | |
| | | if (!item) { |
| | | that.isDel = true; |
| | | } |
| | | } |
| | | init(); |
| | | |
| | | that.modify = function (staData) { |
| | | if (that.no === 0) { |
| | | if (that.no === 0 && !that.isDel) { |
| | | return; |
| | | } |
| | | |