Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
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
静态灯光设置
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
是否可烘培。
Returns
boolean
是否可烘培。
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
是否投射阴影。
Returns
boolean
是否投射阴影。
Parameters
val:
boolean
Returns
void
editor
Only
get
editorOnly
(
)
:
boolean
set
editorOnly
(
val
:
boolean
)
:
void
是否只在编辑器里生效。
Returns
boolean
是否只在编辑器里生效。
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
静态灯光设置