(..._args: any[])
| 610 | this.uniforms = this.props.material?.uniforms; |
| 611 | } |
| 612 | init(..._args: any[]) { |
| 613 | void _args; |
| 614 | this.scene = new THREE.Scene(); |
| 615 | this.camera = new THREE.Camera(); |
| 616 | if (this.uniforms) { |
| 617 | this.material = new THREE.RawShaderMaterial(this.props.material); |
| 618 | this.geometry = new THREE.PlaneGeometry(2, 2); |
| 619 | this.plane = new THREE.Mesh(this.geometry, this.material); |
| 620 | this.scene.add(this.plane); |
| 621 | } |
| 622 | } |
| 623 | update(..._args: any[]) { |
| 624 | void _args; |
| 625 | if (!Common.renderer || !this.scene || !this.camera) return; |
nothing calls this directly
no outgoing calls
no test coverage detected