Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
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
spine
FrameBoneInfo
Interface FrameBoneInfo
Hierarchy
Bone
FrameBoneInfo
Implements
Updatable
Index
Constructors
constructor
Properties
a
active
applied
Valid
arotation
ascaleX
ascaleY
ashearX
ashearY
ax
ay
b
c
children
d
data
parent
rotation
scaleX
scaleY
shearX
shearY
skeleton
sorted
worldX
worldY
x
y
Methods
get
World
RotationX
get
World
RotationY
get
World
ScaleX
get
World
ScaleY
is
Active
local
ToWorld
local
ToWorld
Rotation
rotate
World
set
ToSetup
Pose
update
update
Applied
Transform
update
World
Transform
update
World
Transform
With
world
ToLocal
world
ToLocal
Rotation
Constructors
constructor
new
Frame
Bone
Info
(
data
:
BoneData
, skeleton
:
Skeleton
, parent
:
Bone
)
:
FrameBoneInfo
Parameters
data:
BoneData
skeleton:
Skeleton
parent:
Bone
Returns
FrameBoneInfo
Properties
a
a
:
number
active
active
:
boolean
applied
Valid
applied
Valid
:
boolean
arotation
arotation
:
number
ascaleX
ascaleX
:
number
ascaleY
ascaleY
:
number
ashearX
ashearX
:
number
ashearY
ashearY
:
number
ax
ax
:
number
ay
ay
:
number
b
b
:
number
c
c
:
number
children
children
:
Bone
[]
d
d
:
number
data
data
:
BoneData
parent
parent
:
Bone
rotation
rotation
:
number
scaleX
scaleX
:
number
scaleY
scaleY
:
number
shearX
shearX
:
number
shearY
shearY
:
number
skeleton
skeleton
:
Skeleton
sorted
sorted
:
boolean
worldX
worldX
:
number
worldY
worldY
:
number
x
x
:
number
y
y
:
number
Methods
get
World
RotationX
get
World
RotationX
(
)
:
number
Returns
number
get
World
RotationY
get
World
RotationY
(
)
:
number
Returns
number
get
World
ScaleX
get
World
ScaleX
(
)
:
number
Returns
number
get
World
ScaleY
get
World
ScaleY
(
)
:
number
Returns
number
is
Active
is
Active
(
)
:
boolean
Returns
boolean
local
ToWorld
local
ToWorld
(
local
:
Vector2
)
:
Vector2
Parameters
local:
Vector2
Returns
Vector2
local
ToWorld
Rotation
local
ToWorld
Rotation
(
localRotation
:
number
)
:
number
Parameters
localRotation:
number
Returns
number
rotate
World
rotate
World
(
degrees
:
number
)
:
void
Parameters
degrees:
number
Returns
void
set
ToSetup
Pose
set
ToSetup
Pose
(
)
:
void
Returns
void
update
update
(
)
:
void
Returns
void
update
Applied
Transform
update
Applied
Transform
(
)
:
void
Returns
void
update
World
Transform
update
World
Transform
(
)
:
void
Returns
void
update
World
Transform
With
update
World
Transform
With
(
x
:
number
, y
:
number
, rotation
:
number
, scaleX
:
number
, scaleY
:
number
, shearX
:
number
, shearY
:
number
)
:
void
Parameters
x:
number
y:
number
rotation:
number
scaleX:
number
scaleY:
number
shearX:
number
shearY:
number
Returns
void
world
ToLocal
world
ToLocal
(
world
:
Vector2
)
:
Vector2
Parameters
world:
Vector2
Returns
Vector2
world
ToLocal
Rotation
world
ToLocal
Rotation
(
worldRotation
:
number
)
:
number
Parameters
worldRotation:
number
Returns
number
Globals
spine
Frame
Bone
Info
constructor
a
active
applied
Valid
arotation
ascaleX
ascaleY
ashearX
ashearY
ax
ay
b
c
children
d
data
parent
rotation
scaleX
scaleY
shearX
shearY
skeleton
sorted
worldX
worldY
x
y
get
World
RotationX
get
World
RotationY
get
World
ScaleX
get
World
ScaleY
is
Active
local
ToWorld
local
ToWorld
Rotation
rotate
World
set
ToSetup
Pose
update
update
Applied
Transform
update
World
Transform
update
World
Transform
With
world
ToLocal
world
ToLocal
Rotation
Generated using
TypeDoc