DeformTimeline Type
Changes a slot's Slot.Deform to deform a VertexAttachment.
Constructors
Constructor | Description |
Full Usage:
DeformTimeline(frameCount, bezierCount, slotIndex, attachment)
Parameters:
int
bezierCount : int
slotIndex : int
attachment : VertexAttachment
|
|
Instance members
Instance member | Description |
Full Usage:
this.Apply
Parameters:
Skeleton
lastTime : float32
time : float32
firedEvents : ExposedList<Event>
alpha : float32
blend : MixBlend
direction : MixDirection
Modifiers: abstract |
|
|
The attachment that will be deformed.
|
Full Usage:
this.SetFrame
Parameters:
int
-
Between 0 and frameCount , inclusive.
time : float32
-
The frame time in seconds.
vertices : float32[]
-
Vertex positions for an unweighted VertexAttachment, or deform offsets if it has weights.
|
Sets the time and vertices for the specified frame.
|
Full Usage:
this.SlotIndex
Returns: int
Modifiers: abstract |
|
Full Usage:
this.Vertices
Returns: float32[][]
|
The vertices for each frame.
|
Full Usage:
this.setBezier (bezier, frame, value, time1, value1, cx1, cy1, cx2, cy2, time2, value2)
Parameters:
int
frame : int
value : int
time1 : float32
value1 : float32
-
Ignored (0 is used for a deform timeline).
cx1 : float32
cy1 : float32
cx2 : float32
cy2 : float32
time2 : float32
value2 : float32
-
Ignored (1 is used for a deform timeline).
|
|