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 fill() function to apply color to the geometry.
예제
This page is generated from the comments in src/webgl/p5.Geometry.js . Please feel free to edit it and submit a pull request!
관련 레퍼런스
beginGeometry
Begins adding shapes to a new p5.Geometry object.
buildGeometry
Creates a custom p5.Geometry object from simpler 3D shapes.
endGeometry
Stops adding shapes to a new p5.Geometry object and returns the object.
freeGeometry
Clears a p5.Geometry object from the graphics processing unit (GPU) memory.