phaser - v4.0.0-rc.4
Preparing search index...
spine-canvas
spine
Skeleton
Class Skeleton
Index
Constructors
constructor
Properties
_
update
Cache
bones
color
data
draw
Order
ik
Constraints
path
Constraints
scale
X
scale
Y
skin
slots
time
transform
Constraints
update
Cache
Reset
x
y
Methods
find
Bone
find
Bone
Index
find
Ik
Constraint
find
Path
Constraint
find
Slot
find
Slot
Index
find
Transform
Constraint
get
Attachment
get
Attachment
By
Name
get
Bounds
get
Root
Bone
set
Attachment
set
Bones
To
Setup
Pose
set
Skin
set
Skin
By
Name
set
Slots
To
Setup
Pose
set
To
Setup
Pose
sort
Bone
sort
Ik
Constraint
sort
Path
Constraint
sort
Path
Constraint
Attachment
sort
Path
Constraint
Attachment
With
sort
Reset
sort
Transform
Constraint
update
update
Cache
update
World
Transform
Constructors
constructor
new
Skeleton
(
data
:
SkeletonData
)
:
Skeleton
Parameters
data
:
SkeletonData
Returns
Skeleton
Properties
_
update
Cache
_updateCache
:
Updatable
[]
bones
bones
:
Bone
[]
color
color
:
spine
.
Color
data
data
:
SkeletonData
draw
Order
drawOrder
:
Slot
[]
ik
Constraints
ikConstraints
:
IkConstraint
[]
path
Constraints
pathConstraints
:
PathConstraint
[]
scale
X
scaleX
:
number
scale
Y
scaleY
:
number
skin
skin
:
Skin
slots
slots
:
Slot
[]
time
time
:
number
transform
Constraints
transformConstraints
:
TransformConstraint
[]
update
Cache
Reset
updateCacheReset
:
Updatable
[]
x
x
:
number
y
y
:
number
Methods
find
Bone
findBone
(
boneName
:
string
)
:
Bone
Parameters
boneName
:
string
Returns
Bone
find
Bone
Index
findBoneIndex
(
boneName
:
string
)
:
number
Parameters
boneName
:
string
Returns
number
find
Ik
Constraint
findIkConstraint
(
constraintName
:
string
)
:
IkConstraint
Parameters
constraintName
:
string
Returns
IkConstraint
find
Path
Constraint
findPathConstraint
(
constraintName
:
string
)
:
PathConstraint
Parameters
constraintName
:
string
Returns
PathConstraint
find
Slot
findSlot
(
slotName
:
string
)
:
Slot
Parameters
slotName
:
string
Returns
Slot
find
Slot
Index
findSlotIndex
(
slotName
:
string
)
:
number
Parameters
slotName
:
string
Returns
number
find
Transform
Constraint
findTransformConstraint
(
constraintName
:
string
)
:
TransformConstraint
Parameters
constraintName
:
string
Returns
TransformConstraint
get
Attachment
getAttachment
(
slotIndex
:
number
,
attachmentName
:
string
)
:
spine
.
Attachment
Parameters
slotIndex
:
number
attachmentName
:
string
Returns
spine
.
Attachment
get
Attachment
By
Name
getAttachmentByName
(
slotName
:
string
,
attachmentName
:
string
)
:
spine
.
Attachment
Parameters
slotName
:
string
attachmentName
:
string
Returns
spine
.
Attachment
get
Bounds
getBounds
(
offset
:
spine
.
Vector2
,
size
:
spine
.
Vector2
,
temp
?:
number
[]
)
:
void
Parameters
offset
:
spine
.
Vector2
size
:
spine
.
Vector2
Optional
temp
:
number
[]
Returns
void
get
Root
Bone
getRootBone
()
:
Bone
Returns
Bone
set
Attachment
setAttachment
(
slotName
:
string
,
attachmentName
:
string
)
:
void
Parameters
slotName
:
string
attachmentName
:
string
Returns
void
set
Bones
To
Setup
Pose
setBonesToSetupPose
()
:
void
Returns
void
set
Skin
setSkin
(
newSkin
:
Skin
)
:
void
Parameters
newSkin
:
Skin
Returns
void
set
Skin
By
Name
setSkinByName
(
skinName
:
string
)
:
void
Parameters
skinName
:
string
Returns
void
set
Slots
To
Setup
Pose
setSlotsToSetupPose
()
:
void
Returns
void
set
To
Setup
Pose
setToSetupPose
()
:
void
Returns
void
sort
Bone
sortBone
(
bone
:
Bone
)
:
void
Parameters
bone
:
Bone
Returns
void
sort
Ik
Constraint
sortIkConstraint
(
constraint
:
IkConstraint
)
:
void
Parameters
constraint
:
IkConstraint
Returns
void
sort
Path
Constraint
sortPathConstraint
(
constraint
:
PathConstraint
)
:
void
Parameters
constraint
:
PathConstraint
Returns
void
sort
Path
Constraint
Attachment
sortPathConstraintAttachment
(
skin
:
Skin
,
slotIndex
:
number
,
slotBone
:
Bone
,
)
:
void
Parameters
skin
:
Skin
slotIndex
:
number
slotBone
:
Bone
Returns
void
sort
Path
Constraint
Attachment
With
sortPathConstraintAttachmentWith
(
attachment
:
spine
.
Attachment
,
slotBone
:
Bone
,
)
:
void
Parameters
attachment
:
spine
.
Attachment
slotBone
:
Bone
Returns
void
sort
Reset
sortReset
(
bones
:
Bone
[]
)
:
void
Parameters
bones
:
Bone
[]
Returns
void
sort
Transform
Constraint
sortTransformConstraint
(
constraint
:
TransformConstraint
)
:
void
Parameters
constraint
:
TransformConstraint
Returns
void
update
update
(
delta
:
number
)
:
void
Parameters
delta
:
number
Returns
void
update
Cache
updateCache
()
:
void
Returns
void
update
World
Transform
updateWorldTransform
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_
update
Cache
bones
color
data
draw
Order
ik
Constraints
path
Constraints
scale
X
scale
Y
skin
slots
time
transform
Constraints
update
Cache
Reset
x
y
Methods
find
Bone
find
Bone
Index
find
Ik
Constraint
find
Path
Constraint
find
Slot
find
Slot
Index
find
Transform
Constraint
get
Attachment
get
Attachment
By
Name
get
Bounds
get
Root
Bone
set
Attachment
set
Bones
To
Setup
Pose
set
Skin
set
Skin
By
Name
set
Slots
To
Setup
Pose
set
To
Setup
Pose
sort
Bone
sort
Ik
Constraint
sort
Path
Constraint
sort
Path
Constraint
Attachment
sort
Path
Constraint
Attachment
With
sort
Reset
sort
Transform
Constraint
update
update
Cache
update
World
Transform
phaser - v4.0.0-rc.4
Loading...