Cocos Creator
Manual
API Ref
Cocos2d-x
Manual
API Ref
Version: 3.0
Version: 3.5
Version: 3.4
Version: 3.3
Version: 3.2
Version: 3.1
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
StaticLightSettings
Class StaticLightSettings
static light settings.
Hierarchy
StaticLightSettings
Index
Properties
_bakeable
_baked
_cast
Shadow
_editor
Only
Accessors
bakeable
baked
cast
Shadow
editor
Only
Properties
Protected
_bakeable
_bakeable
:
boolean
= false
Protected
_baked
_baked
:
boolean
= false
Protected
_cast
Shadow
_cast
Shadow
:
boolean
= false
Protected
_editor
Only
_editor
Only
:
boolean
= false
Accessors
bakeable
get
bakeable
(
)
:
boolean
set
bakeable
(
val
:
boolean
)
:
void
bakeable.
Returns
boolean
bakeable.
Parameters
val:
boolean
Returns
void
baked
get
baked
(
)
:
boolean
set
baked
(
val
:
boolean
)
:
void
bake state
Returns
boolean
bake state
Parameters
val:
boolean
Returns
void
cast
Shadow
get
castShadow
(
)
:
boolean
set
castShadow
(
val
:
boolean
)
:
void
cast shadow.
Returns
boolean
cast shadow.
Parameters
val:
boolean
Returns
void
editor
Only
get
editorOnly
(
)
:
boolean
set
editorOnly
(
val
:
boolean
)
:
void
editor only.
Returns
boolean
editor only.
Parameters
val:
boolean
Returns
void
Globals
component/light
Directional
Light
Light
Sphere
Light
Spot
Light
Static
Light
Settings
_bakeable
_baked
_cast
Shadow
_editor
Only
bakeable
baked
cast
Shadow
editor
Only
Photometric
Term
_color_
tmp
Generated using
TypeDoc
static light settings.