Cocos Creator
Manual
API Ref
Cocos2d-x
Manual
API Ref
Version: 3.2
Version: 3.5
Version: 3.4
Version: 3.3
Version: 3.1
Version: 3.0
Version: 2.4
Version: 2.3
Version: 2.2
Version: 2.1
Version: 2.0
Version: 1.10
Version: 1.9
Search
Preparing search index...
The search index is not available
CocosCreatorAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
light
Module light
Index
Classes
Directional
Light
Light
Sphere
Light
Spot
Light
Static
Light
Settings
Variables
Photometric
Term
_color_
tmp
Variables
Const
Photometric
Term
Photometric
Term
:
{
LUMINANCE
:
number
;
LUMINOUS_POWER
:
number
}
= Enum({LUMINOUS_POWER: 0,LUMINANCE: 1,})
Type declaration
LUMINANCE
:
number
LUMINOUS_
POWER
:
number
Const
_color_
tmp
_color_
tmp
:
Vec3
= new Vec3()
Globals
component/light
Directional
Light
Light
Sphere
Light
Spot
Light
Static
Light
Settings
Photometric
Term
_color_
tmp
Generated using
TypeDoc