| this._state = State.INITIALIZED | this._state = State.INITIALIZED | ||||
| } | } | ||||
| get readyPromise() { | |||||
| return this._delegate.readyPromise | |||||
| } | |||||
| set position(position) { | set position(position) { | ||||
| this._position = Parse.parsePosition(position) | this._position = Parse.parsePosition(position) | ||||
| let origin = Transform.transformWGS84ToCartesian(this._position) | let origin = Transform.transformWGS84ToCartesian(this._position) | ||||
| this.position = this._position | this.position = this._position | ||||
| } | } | ||||
| /** | |||||
| * | |||||
| * @param name | |||||
| */ | |||||
| getMaterial(name) { | |||||
| return this._delegate.getMaterial(name) | |||||
| } | |||||
| /** | |||||
| * | |||||
| * @param name | |||||
| */ | |||||
| getMesh(name) { | |||||
| return this._delegate.getMesh(name) | |||||
| } | |||||
| /** | |||||
| * | |||||
| * @param name | |||||
| * @returns {*} | |||||
| */ | |||||
| getNode(name) { | |||||
| return this._delegate.getNode(name) | |||||
| } | |||||
| /** | |||||
| * | |||||
| * @returns {*} | |||||
| */ | |||||
| getNodes() { | |||||
| return this._delegate._runtime.nodes | |||||
| } | |||||
| /** | /** | ||||
| * Sets style | * Sets style | ||||
| * @param style | * @param style |