summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/cc.PointLight.lua
blob: 447fba09fa3ea54d2c507f37f595f5a1e5bb0504 (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

---@class cc.PointLight :cc.BaseLight
local PointLight={ }
cc.PointLight=PointLight




---*  get or set range 
---@return float
function PointLight:getRange () end
---* 
---@param range float
---@return point_table
function PointLight:setRange (range) end
---* Creates a point light.<br>
---* param position The light's position<br>
---* param color The light's color.<br>
---* param range The light's range.<br>
---* return The new point light.
---@param position vec3_table
---@param color color3b_table
---@param range float
---@return point_table
function PointLight:create (position,color,range) end
---* 
---@return int
function PointLight:getLightType () end
---* 
---@return point_table
function PointLight:PointLight () end