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
파일 보기 프로젝트 열기: EsotericSoftware/spine-runtimes 1 사용 예제들

공개 메소드들

메소드 설명
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