blob: 0f0a12fe71ffe76e13ef491e7633f3d70563c82f (
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.BaseLight :cc.Node
local BaseLight={ }
cc.BaseLight=BaseLight
---* light enabled getter and setter.
---@param enabled boolean
---@return self
function BaseLight:setEnabled (enabled) end
---* intensity getter and setter
---@return float
function BaseLight:getIntensity () end
---*
---@return boolean
function BaseLight:isEnabled () end
---* Get the light type,light type MUST be one of LightType::DIRECTIONAL ,<br>
---* LightType::POINT, LightType::SPOT, LightType::AMBIENT.
---@return int
function BaseLight:getLightType () end
---*
---@param flag int
---@return self
function BaseLight:setLightFlag (flag) end
---*
---@param intensity float
---@return self
function BaseLight:setIntensity (intensity) end
---* light flag getter and setter
---@return int
function BaseLight:getLightFlag () end
|