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
cocos\core\scene-
graph
Scene
Globals
_skybox
ambient
fog
shadows
skybox
activate
Generated using
TypeDoc
各类场景级别的渲染参数,将影响全场景的所有物体