blob: 541f7d017f81701444846d8d0308e483eb2d98a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
---@meta
---@class cc.CameraBackgroundColorBrush :cc.CameraBackgroundDepthBrush
local CameraBackgroundColorBrush={ }
cc.CameraBackgroundColorBrush=CameraBackgroundColorBrush
---* Set clear color<br>
---* param color Color used to clear the color buffer
---@param color color4f_table
---@return self
function CameraBackgroundColorBrush:setColor (color) end
---* Create a color brush<br>
---* param color Color used to clear the color buffer<br>
---* param depth Depth used to clear the depth buffer<br>
---* return Created brush
---@param color color4f_table
---@param depth float
---@return self
function CameraBackgroundColorBrush:create (color,depth) end
---* Get brush type. Should be BrushType::COLOR<br>
---* return brush type
---@return int
function CameraBackgroundColorBrush:getBrushType () end
---* Draw background
---@param camera cc.Camera
---@return self
function CameraBackgroundColorBrush:drawBackground (camera) end
---*
---@return boolean
function CameraBackgroundColorBrush:init () end
---*
---@return self
function CameraBackgroundColorBrush:CameraBackgroundColorBrush () end
|