Format
typescript
Graphics.Clear(clearDepth, clearColor, backgroundColor, depth)class: Graphics
Description
Clears the current target render object to the specified color and depth.
Parameters
| param_name | type | description |
|---|---|---|
| clearDepth | boolean | Whether to clear the depth. |
| clearColor | boolean | Whether to clear the color. |
| backgroundColor | Color | The color value. |
| depth | number? | The depth value. |
Return
| type | description |
|---|---|
void |
