| 290 | } |
| 291 | |
| 292 | draw({uniforms}) { |
| 293 | const { |
| 294 | jointRounded, |
| 295 | capRounded, |
| 296 | billboard, |
| 297 | miterLimit, |
| 298 | widthUnits, |
| 299 | widthScale, |
| 300 | widthMinPixels, |
| 301 | widthMaxPixels |
| 302 | } = this.props; |
| 303 | |
| 304 | const model = this.state.model!; |
| 305 | const pathProps: PathProps = { |
| 306 | jointType: Number(jointRounded), |
| 307 | capType: Number(capRounded), |
| 308 | billboard, |
| 309 | widthUnits: UNIT[widthUnits], |
| 310 | widthScale, |
| 311 | miterLimit, |
| 312 | widthMinPixels, |
| 313 | widthMaxPixels |
| 314 | }; |
| 315 | model.shaderInputs.setProps({path: pathProps}); |
| 316 | model.draw(this.context.renderPass); |
| 317 | } |
| 318 | |
| 319 | protected _getModel(): Model { |
| 320 | /* |