Cocos Creator
Manual
API Ref
Cocos2d-x
Manual
API Ref
Version: 3.0
Version: 3.5
Version: 3.4
Version: 3.3
Version: 3.2
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.