Fills the Render Texture with the given color.
name | type | arguments | Default | description |
---|---|---|---|---|
rgb | number |
The color to fill the Render Texture with. |
||
alpha | number | <optional> | 1 |
The alpha value used by the fill. |
x | number | <optional> | 0 |
The left coordinate of the fill rectangle. |
y | number | <optional> | 0 |
The top coordinate of the fill rectangle. |
width | number | <optional> | this.frame.cutWidth |
The width of the fill rectangle. |
height | number | <optional> | this.frame.cutHeight |
The height of the fill rectangle. |
This Render Texture instance.