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
scenegraph
SceneGlobals
Class SceneGlobals
各类场景级别的渲染参数,将影响全场景的所有物体
Hierarchy
SceneGlobals
Index
Properties
_skybox
ambient
fog
shadows
Accessors
skybox
Methods
activate
Properties
_skybox
_skybox
:
SkyboxInfo
= new SkyboxInfo()
ambient
ambient
:
AmbientInfo
= new AmbientInfo()
场景的环境光照相关信息
fog
fog
:
FogInfo
= new FogInfo()
shadows
shadows
:
ShadowsInfo
= new ShadowsInfo()
平面阴影相关信息
Accessors
skybox
get
skybox
(
)
:
SkyboxInfo
set
skybox
(
value
:
SkyboxInfo
)
:
void
天空盒相关信息
Returns
SkyboxInfo
天空盒相关信息
Parameters
value:
SkyboxInfo
Returns
void
Methods
activate
activate
(
)
:
void
Returns
void
Globals
scene-
graph
Scene
Globals
_skybox
ambient
fog
shadows
skybox
activate
Generated using
TypeDoc
各类场景级别的渲染参数,将影响全场景的所有物体