Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
Version: 1.2
Version: 1.0
Version: 1.1
Version: 1.2
Search
Preparing search index...
The search index is not available
Creator3dAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
light
StaticLightSettings
Class StaticLightSettings
静态灯光设置
Hierarchy
StaticLightSettings
Index
Properties
_bakeable
_cast
Shadow
_editor
Only
Accessors
bakeable
cast
Shadow
editor
Only
Properties
Protected
_bakeable
_bakeable
:
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
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
_cast
Shadow
_editor
Only
bakeable
cast
Shadow
editor
Only
Photometric
Term
Generated using
TypeDoc
静态灯光设置