C# Класс Spine.VertexAttachment

>An attachment with vertices that are transformed by one or more bones and can be deformed by a slot's vertices.
Наследование: Attachment
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ApplyDeform ( VertexAttachment sourceAttachment ) : bool

Returns true if a deform originally applied to the specified attachment should be applied to this attachment.

ComputeWorldVertices ( Slot slot, float worldVertices ) : void
ComputeWorldVertices ( Slot slot, int start, int count, float worldVertices, int offset ) : void

Transforms local vertices to world coordinates.

VertexAttachment ( String name ) : System

Описание методов

ApplyDeform() публичный Метод

Returns true if a deform originally applied to the specified attachment should be applied to this attachment.
public ApplyDeform ( VertexAttachment sourceAttachment ) : bool
sourceAttachment VertexAttachment
Результат bool

ComputeWorldVertices() публичный Метод

public ComputeWorldVertices ( Slot slot, float worldVertices ) : void
slot Slot
worldVertices float
Результат void

ComputeWorldVertices() публичный Метод

Transforms local vertices to world coordinates.
public ComputeWorldVertices ( Slot slot, int start, int count, float worldVertices, int offset ) : void
slot Slot
start int The index of the first 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 - start.
worldVertices float The output world vertices. Must have a length greater than or equal to + .
offset int The index to begin writing values.
Результат void

VertexAttachment() публичный Метод

public VertexAttachment ( String name ) : System
name String
Результат System