blob: e47abc2c6ea7da498390e443563b7601b6efa745 (
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
|
---@meta
---@class cc.DirectionLight :cc.BaseLight
local DirectionLight={ }
cc.DirectionLight=DirectionLight
---* Returns the Direction in parent.
---@return vec3_table
function DirectionLight:getDirection () end
---* Returns direction in world.
---@return vec3_table
function DirectionLight:getDirectionInWorld () end
---* Sets the Direction in parent.<br>
---* param dir The Direction in parent.
---@param dir vec3_table
---@return self
function DirectionLight:setDirection (dir) end
---* Creates a direction light.<br>
---* param direction The light's direction<br>
---* param color The light's color.<br>
---* return The new direction light.
---@param direction vec3_table
---@param color color3b_table
---@return self
function DirectionLight:create (direction,color) end
---*
---@return int
function DirectionLight:getLightType () end
---*
---@return self
function DirectionLight:DirectionLight () end
|