添加飞线显示隐藏
This commit is contained in:
@ -215,6 +215,17 @@ class FlowLine extends Base {
|
|||||||
this.getLine(this, this.positions)
|
this.getLine(this, this.positions)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
get show() {
|
||||||
|
return this.options.show
|
||||||
|
}
|
||||||
|
|
||||||
|
set show(v) {
|
||||||
|
this.options.show = v
|
||||||
|
let entity = this.viewer.entities.getById(this.options.id)
|
||||||
|
if (entity) {
|
||||||
|
entity.show = v
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
get heightDifference() {
|
get heightDifference() {
|
||||||
return this.options.heightDifference
|
return this.options.heightDifference
|
||||||
|
Reference in New Issue
Block a user