添加关照、全局等高线、修改图层问题
This commit is contained in:
		
							
								
								
									
										25
									
								
								static/sdk/three/jsm/renderers/common/Binding.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								static/sdk/three/jsm/renderers/common/Binding.js
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,25 @@ | ||||
| class Binding { | ||||
|  | ||||
| 	constructor( name = '' ) { | ||||
|  | ||||
| 		this.name = name; | ||||
|  | ||||
| 		this.visibility = 0; | ||||
|  | ||||
| 	} | ||||
|  | ||||
| 	setVisibility( visibility ) { | ||||
|  | ||||
| 		this.visibility |= visibility; | ||||
|  | ||||
| 	} | ||||
|  | ||||
| 	clone() { | ||||
|  | ||||
| 		return Object.assign( new this.constructor(), this ); | ||||
|  | ||||
| 	} | ||||
|  | ||||
| } | ||||
|  | ||||
| export default Binding; | ||||
		Reference in New Issue
	
	Block a user