Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
Version: 3.0 Preview
Version: 3.1
Version: 2.4
Version: 2.3
Version: 2.2
Version: 2.1
Version: 2.0
Version: 1.10
Version: 1.9
Search
Preparing search index...
The search index is not available
CocosCreatorAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
animation
Socket
Class Socket
Hierarchy
Socket
Index
Constructors
constructor
Properties
path
target
Constructors
constructor
new
Socket
(
path
?:
string
, target
?:
Node
|
null
)
:
Socket
Parameters
Default value
path:
string
= ""
Default value
target:
Node
|
null
= null
Returns
Socket
Properties
path
path
:
string
= ""
Path of the target joint.
target
target
:
Node
|
null
= null
Transform output node.
Globals
animation
Socket
constructor
path
target
Generated using
TypeDoc
Path of the target joint.