blob: 2143375c11c291f9067d0ec30d8f91b553c234d0 (
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
---@class cc.Scene :cc.Node
local Scene={ }
cc.Scene=Scene
---*
---@return boolean
function Scene:initWithPhysics () end
---*
---@return self
function Scene:setCameraOrderDirty () end
---* Render the scene.<br>
---* param renderer The renderer use to render the scene.<br>
---* param eyeTransform The AdditionalTransform of camera.<br>
---* param eyeProjection The projection matrix of camera.<br>
---* js NA
---@param renderer cc.Renderer
---@param eyeTransform mat4_table
---@param eyeProjection mat4_table
---@return self
function Scene:render (renderer,eyeTransform,eyeProjection) end
---*
---@param deltaTime float
---@return self
function Scene:stepPhysicsAndNavigation (deltaTime) end
---*
---@param event cc.EventCustom
---@return self
function Scene:onProjectionChanged (event) end
---* Get the physics world of the scene.<br>
---* return The physics world of the scene.<br>
---* js NA
---@return cc.PhysicsWorld
function Scene:getPhysicsWorld () end
---*
---@param size size_table
---@return boolean
function Scene:initWithSize (size) end
---* Get the default camera.<br>
---* js NA<br>
---* return The default camera of scene.
---@return cc.Camera
function Scene:getDefaultCamera () end
---* Creates a new Scene object with a predefined Size. <br>
---* param size The predefined size of scene.<br>
---* return An autoreleased Scene object.<br>
---* js NA
---@param size size_table
---@return self
function Scene:createWithSize (size) end
---* Creates a new Scene object. <br>
---* return An autoreleased Scene object.
---@return self
function Scene:create () end
---* Create a scene with physics.<br>
---* return An autoreleased Scene object with physics.<br>
---* js NA
---@return self
function Scene:createWithPhysics () end
---*
---@return boolean
function Scene:init () end
---*
---@return string
function Scene:getDescription () end
---* override function
---@return self
function Scene:removeAllChildren () end
---*
---@return self
function Scene:Scene () end
|