C# 클래스 tk2dSlicedSprite, Malisse

상속: tk2dBaseSprite
파일 보기 프로젝트 열기: Collegiennes/Malisse 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
borderBottom float
borderLeft float
borderRight float
borderTop float
legacyMode bool

공개 메소드들

메소드 설명
Build ( ) : void
SetIndices ( ) : void

보호된 메소드들

메소드 설명
GetCurrentVertexCount ( ) : int
OnDestroy ( ) : void
SetColors ( Color dest ) : void
SetGeometry ( Vector3 vertices, Vector2 uvs ) : void
UpdateColors ( ) : void
UpdateColorsImpl ( ) : void
UpdateGeometry ( ) : void
UpdateGeometryImpl ( ) : void
UpdateMaterial ( ) : void
UpdateVertices ( ) : void

비공개 메소드들

메소드 설명
Awake ( ) : void

The anchor position for this sliced sprite

UpdateCollider ( ) : void

메소드 상세

Build() 공개 메소드

public Build ( ) : void
리턴 void

GetCurrentVertexCount() 보호된 메소드

protected GetCurrentVertexCount ( ) : int
리턴 int

OnDestroy() 보호된 메소드

protected OnDestroy ( ) : void
리턴 void

SetColors() 보호된 메소드

protected SetColors ( Color dest ) : void
dest Color
리턴 void

SetGeometry() 보호된 메소드

protected SetGeometry ( Vector3 vertices, Vector2 uvs ) : void
vertices Vector3
uvs Vector2
리턴 void

SetIndices() 공개 메소드

public SetIndices ( ) : void
리턴 void

UpdateColors() 보호된 메소드

protected UpdateColors ( ) : void
리턴 void

UpdateColorsImpl() 보호된 메소드

protected UpdateColorsImpl ( ) : void
리턴 void

UpdateGeometry() 보호된 메소드

protected UpdateGeometry ( ) : void
리턴 void

UpdateGeometryImpl() 보호된 메소드

protected UpdateGeometryImpl ( ) : void
리턴 void

UpdateMaterial() 보호된 메소드

protected UpdateMaterial ( ) : void
리턴 void

UpdateVertices() 보호된 메소드

protected UpdateVertices ( ) : void
리턴 void

프로퍼티 상세

borderBottom 공개적으로 프로퍼티

Bottom border in sprite fraction (0 - Bottom, 1 - Top)
public float borderBottom
리턴 float

borderLeft 공개적으로 프로퍼티

Left border in sprite fraction (0 - Left, 1 - Right)
public float borderLeft
리턴 float

borderRight 공개적으로 프로퍼티

Right border in sprite fraction (1 - Right, 0 - Left)
public float borderRight
리턴 float

borderTop 공개적으로 프로퍼티

Top border in sprite fraction (0 - Top, 1 - Bottom)
public float borderTop
리턴 float

legacyMode 공개적으로 프로퍼티

Legacy mode (uses scale to adjust overall size). Newly created sprites should have this set to false.
public bool legacyMode
리턴 bool