Cocos Creator
Manual
API Ref
Cocos2d-x
Manual
API Ref
Version: 3.1
Version: 3.5
Version: 3.4
Version: 3.3
Version: 3.2
Version: 3.0
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
gfx
Offset
Class Offset
Hierarchy
Offset
Index
Constructors
constructor
Properties
_token
x
y
z
Constructors
constructor
new
Offset
(
x
?:
number
, y
?:
number
, z
?:
number
)
:
Offset
Parameters
Default value
x:
number
= 0
Default value
y:
number
= 0
Default value
z:
number
= 0
Returns
Offset
Properties
Private
_token
_token
:
never
x
x
:
number
y
y
:
number
z
z
:
number
Globals
gfx
Offset
constructor
_token
x
y
z
Generated using
TypeDoc