Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
AnySDK
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
SkyboxInfo
Class SkyboxInfo
天空盒相关信息
Hierarchy
SkyboxInfo
Index
Properties
_enabled
_envmap
_isRGBE
_resource
_useIBL
Accessors
enabled
envmap
isRGBE
render
Scene
useIBL
Properties
Protected
_enabled
_enabled
:
boolean
= false
Protected
_envmap
_envmap
:
TextureCube
|
null
= null
Protected
_isRGBE
_isRGBE
:
boolean
= false
Protected
_resource
_resource
:
Skybox
|
null
= null
Protected
_useIBL
_useIBL
:
boolean
= false
Accessors
enabled
get
enabled
(
)
:
boolean
set
enabled
(
val
:
boolean
)
:
void
Returns
boolean
是否启用天空盒?
Parameters
val:
boolean
Returns
void
envmap
get
envmap
(
)
:
null
|
TextureCube
set
envmap
(
val
:
null
|
TextureCube
)
:
void
Returns
null
|
TextureCube
使用的立方体贴图
Parameters
val:
null
|
TextureCube
Returns
void
isRGBE
get
isRGBE
(
)
:
boolean
set
isRGBE
(
val
:
boolean
)
:
void
Returns
boolean
是否需要开启 shader 内的 RGBE 数据支持?
Parameters
val:
boolean
Returns
void
render
Scene
set
renderScene
(
val
:
RenderScene
)
:
void
Parameters
val:
RenderScene
Returns
void
useIBL
get
useIBL
(
)
:
boolean
set
useIBL
(
val
:
boolean
)
:
void
Returns
boolean
是否启用环境光照?
Parameters
val:
boolean
Returns
void
Globals
scene-
graph
Skybox
Info
_enabled
_envmap
_isRGBE
_resource
_useIBL
enabled
envmap
isRGBE
render
Scene
useIBL
Generated using
TypeDoc
天空盒相关信息