blob: a8ec0a2c43c5f48282e9f2c468e630dd3eb2dd28 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
---@class cc.CameraBackgroundBrush :cc.Ref
local CameraBackgroundBrush={ }
cc.CameraBackgroundBrush=CameraBackgroundBrush
---* get brush type<br>
---* return BrushType
---@return int
function CameraBackgroundBrush:getBrushType () end
---* draw the background
---@param a cc.Camer
---@return self
function CameraBackgroundBrush:drawBackground (a) end
---*
---@return boolean
function CameraBackgroundBrush:init () end
---*
---@return boolean
function CameraBackgroundBrush:isValid () end
---* Creates a Skybox brush with 6 textures.<br>
---* param positive_x texture for the right side of the texture cube face.<br>
---* param negative_x texture for the up side of the texture cube face.<br>
---* param positive_y texture for the top side of the texture cube face<br>
---* param negative_y texture for the bottom side of the texture cube face<br>
---* param positive_z texture for the forward side of the texture cube face.<br>
---* param negative_z texture for the rear side of the texture cube face.<br>
---* return A new brush inited with given parameters.
---@param positive_x string
---@param negative_x string
---@param positive_y string
---@param negative_y string
---@param positive_z string
---@param negative_z string
---@return cc.CameraBackgroundSkyBoxBrush
function CameraBackgroundBrush:createSkyboxBrush (positive_x,negative_x,positive_y,negative_y,positive_z,negative_z) end
---* Creates a color brush<br>
---* param color Color of brush<br>
---* param depth Depth used to clear depth buffer<br>
---* return Created brush
---@param color color4f_table
---@param depth float
---@return cc.CameraBackgroundColorBrush
function CameraBackgroundBrush:createColorBrush (color,depth) end
---* Creates a none brush, it does nothing when clear the background<br>
---* return Created brush.
---@return self
function CameraBackgroundBrush:createNoneBrush () end
---* Creates a depth brush, which clears depth buffer with a given depth.<br>
---* param depth Depth used to clear depth buffer<br>
---* return Created brush
---@return cc.CameraBackgroundDepthBrush
function CameraBackgroundBrush:createDepthBrush () end
---*
---@return self
function CameraBackgroundBrush:CameraBackgroundBrush () end
|