Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
AnySDK
Version: 1.1
Version: 1.0
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
pipeline
UBOShadow
Class UBOShadow
阴影 UBO。
Hierarchy
UBOShadow
Index
Properties
view
COUNT
MAT_
LIGHT_
PLANE_
PROJ_
OFFSET
SHADOW_
COLOR_
OFFSET
SIZE
Object literals
BLOCK
Properties
view
view
:
Float32Array
= new Float32Array(UBOShadow.COUNT)
Static
COUNT
COUNT
:
number
= UBOShadow.SHADOW_COLOR_OFFSET + 4
Static
MAT_
LIGHT_
PLANE_
PROJ_
OFFSET
MAT_
LIGHT_
PLANE_
PROJ_
OFFSET
:
number
= 0
Static
SHADOW_
COLOR_
OFFSET
SHADOW_
COLOR_
OFFSET
:
number
= UBOShadow.MAT_LIGHT_PLANE_PROJ_OFFSET + 16
Static
SIZE
SIZE
:
number
= UBOShadow.COUNT * 4
Object literals
Static
BLOCK
BLOCK
:
object
binding
binding
:
UniformBinding
= UniformBinding.UBO_SHADOW
members
members
:
(
object
|
object
)
[]
= [{ name: 'cc_matLightPlaneProj', type: GFXType.MAT4, count: 1 },{ name: 'cc_shadowColor', type: GFXType.FLOAT4, count: 1 },]
name
name
:
string
= "CCShadow"
Globals
pipeline
forward
ppfx
ui
UBOShadow
view
COUNT
MAT_
LIGHT_
PLANE_
PROJ_
OFFSET
SHADOW_
COLOR_
OFFSET
SIZE
BLOCK
Generated using
TypeDoc
阴影 UBO。