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
model
External module model
Index
Classes
Batched
Skinning
Model
Component
Model
Component
Renderable
Component
Skinning
Model
Component
Skinning
Model
Unit
Variables
Model
Shadow
Casting
Mode
batch_
extras_
size
Functions
repeat
Object literals
mat
Ins
Info
batchid
batchuv
Variables
Const
Model
Shadow
Casting
Mode
Model
Shadow
Casting
Mode
:
object
= Enum({/*** 不投射阴影。*/OFF: 0,/*** 开启阴影投射。*/ON: 1,})
Shadow projection mode
阴影投射方式。
Type declaration
OFF
:
number
不投射阴影。
ON
:
number
开启阴影投射。
Const
batch_
extras_
size
batch_
extras_
size
:
number
= GFXFormatInfos[batch_id.format].size + GFXFormatInfos[batch_uv.format].size
Functions
Const
repeat
repeat
(
n
:
number
)
:
number
Parameters
n:
number
Returns
number
Object literals
Const
mat
Ins
Info
mat
Ins
Info
:
object
owner
owner
:
never
= null!
parent
parent
:
never
= null!
sub
Model
Idx
sub
Model
Idx
:
number
= 0
Const
batchid
batchid
:
object
format
format
:
R32F
= GFXFormat.R32F
is
Normalized
is
Normalized
:
false
= false
name
name
:
GFXAttributeName
= GFXAttributeName.ATTR_BATCH_ID
Const
batchuv
batchuv
:
object
format
format
:
RG32F
= GFXFormat.RG32F
is
Normalized
is
Normalized
:
false
= false
name
name
:
GFXAttributeName
= GFXAttributeName.ATTR_BATCH_UV
Globals
model
Batched
Skinning
Model
Component
Model
Component
Renderable
Component
Skinning
Model
Component
Skinning
Model
Unit
Model
Shadow
Casting
Mode
batch_
extras_
size
repeat
mat
Ins
Info
batchid
batchuv
Generated using
TypeDoc
Shadow projection mode
阴影投射方式。