* Removes the geometry’s internal colors. * * `p5.Geometry` objects can be created with "internal colors" assigned to * vertices or the entire shape. When a geometry has internal colors, * fill() has no effect. Calling * `myGeometry.clearColors()` allows the
()
| 307 | * } |
| 308 | */ |
| 309 | clearColors() { |
| 310 | this.vertexColors = []; |
| 311 | return this; |
| 312 | } |
| 313 | |
| 314 | /** |
| 315 | * The `saveObj()` function exports `p5.Geometry` objects as |