VertexAttachment Type
>An attachment with vertices that are transformed by one or more bones and can be deformed by a slot's Slot.Deform.
Constructors
Constructor | Description |
Full Usage:
VertexAttachment(name)
Parameters:
string
|
|
|
Copy constructor.
|
Instance members
Instance member | Description |
Full Usage:
this.Bones
|
|
|
|
Full Usage:
this.ComputeWorldVertices
Parameters:
Slot
start : int
-
The index of the first VertexAttachment.Vertices value to transform. Each vertex has 2 values, x and y.
count : int
-
The number of world vertex values to output. Must be less than or equal to VertexAttachment.WorldVerticesLength - start.
worldVertices : float32[]
-
The output world vertices. Must have a length greater than or equal to offset + count.
offset : int
-
The worldVertices index to begin writing values.
?stride : int
-
The number of worldVertices entries between the value pairs written.
Modifiers: abstract |
Transforms the attachment's local VertexAttachment.Vertices to world coordinates. If the slot's Slot.Deform is not empty, it is used to deform the vertices. See World transforms in the Spine Runtimes Guide.
|
Full Usage:
this.Id
Returns: int
|
Gets a unique ID for this attachment.
|
Full Usage:
this.TimelineAttachment
|
Timelines for the timeline attachment are also applied to this attachment. May be null if no attachment-specific timelines should be applied. |
Full Usage:
this.Vertices
|
|
Full Usage:
this.WorldVerticesLength
|
|