C# 클래스 SpriteManager, flixel4unity

상속: MonoBehaviour
파일 보기 프로젝트 열기: jminor/flixel4unity 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
allocBlockSize int
autoUpdateBounds bool
material Material
plane SPRITE_PLANE
sprites Zprite[]
winding WINDING_ORDER

보호된 프로퍼티들

프로퍼티 타입 설명
UVs Vector2[]
activeBillboards ArrayList
activeBlocks ArrayList
availableBlocks ArrayList
boundUpdateInterval float
colors Color[]
colorsChanged bool
mesh Mesh
meshFilter MeshFilter
meshRenderer MeshRenderer
triIndices int[]
updateBounds bool
uvsChanged bool
vertCountChanged bool
vertices Vector3[]
vertsChanged bool

공개 메소드들

메소드 설명
AddSprite ( GameObject client, float width, float height, Vector2 lowerLeftUV, Vector2 UVDimensions, bool billboarded ) : Zprite,
AddSprite ( GameObject client, float width, float height, int leftPixelX, int bottomPixelY, int pixelWidth, int pixelHeight, bool billboarded ) : Zprite,
Awake ( ) : void
CancelBoundsUpdate ( ) : void
GetSprite ( int i ) : Zprite
HideSprite ( Zprite sprite ) : void
LateUpdate ( ) : void
PixelCoordToUVCoord ( Vector2 xy ) : Vector2
PixelCoordToUVCoord ( int x, int y ) : Vector2
PixelSpaceToUVSpace ( Vector2 xy ) : Vector2
PixelSpaceToUVSpace ( int x, int y ) : Vector2
RemoveSprite ( Zprite sprite ) : void
ScheduleBoundsUpdate ( float seconds ) : void
SetBillboarded ( Zprite sprite ) : void
ShowSprite ( Zprite sprite ) : void
Start ( ) : void
Transform ( Zprite sprite ) : void
TransformBillboarded ( Zprite sprite ) : void
UpdateBounds ( ) : void
UpdateColors ( Zprite sprite ) : void
UpdatePositions ( ) : void
UpdateUV ( Zprite sprite ) : void

보호된 메소드들

메소드 설명
EnlargeArrays ( int count ) : int
InitArrays ( ) : void

메소드 상세

AddSprite() 공개 메소드

public AddSprite ( GameObject client, float width, float height, Vector2 lowerLeftUV, Vector2 UVDimensions, bool billboarded ) : Zprite,
client GameObject
width float
height float
lowerLeftUV Vector2
UVDimensions Vector2
billboarded bool
리턴 Zprite,

AddSprite() 공개 메소드

public AddSprite ( GameObject client, float width, float height, int leftPixelX, int bottomPixelY, int pixelWidth, int pixelHeight, bool billboarded ) : Zprite,
client GameObject
width float
height float
leftPixelX int
bottomPixelY int
pixelWidth int
pixelHeight int
billboarded bool
리턴 Zprite,

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

CancelBoundsUpdate() 공개 메소드

public CancelBoundsUpdate ( ) : void
리턴 void

EnlargeArrays() 보호된 메소드

protected EnlargeArrays ( int count ) : int
count int
리턴 int

GetSprite() 공개 메소드

public GetSprite ( int i ) : Zprite
i int
리턴 Zprite

HideSprite() 공개 메소드

public HideSprite ( Zprite sprite ) : void
sprite Zprite
리턴 void

InitArrays() 보호된 메소드

protected InitArrays ( ) : void
리턴 void

LateUpdate() 공개 메소드

public LateUpdate ( ) : void
리턴 void

PixelCoordToUVCoord() 공개 메소드

public PixelCoordToUVCoord ( Vector2 xy ) : Vector2
xy Vector2
리턴 Vector2

PixelCoordToUVCoord() 공개 메소드

public PixelCoordToUVCoord ( int x, int y ) : Vector2
x int
y int
리턴 Vector2

PixelSpaceToUVSpace() 공개 메소드

public PixelSpaceToUVSpace ( Vector2 xy ) : Vector2
xy Vector2
리턴 Vector2

PixelSpaceToUVSpace() 공개 메소드

public PixelSpaceToUVSpace ( int x, int y ) : Vector2
x int
y int
리턴 Vector2

RemoveSprite() 공개 메소드

public RemoveSprite ( Zprite sprite ) : void
sprite Zprite
리턴 void

ScheduleBoundsUpdate() 공개 메소드

public ScheduleBoundsUpdate ( float seconds ) : void
seconds float
리턴 void

SetBillboarded() 공개 메소드

public SetBillboarded ( Zprite sprite ) : void
sprite Zprite
리턴 void

ShowSprite() 공개 메소드

public ShowSprite ( Zprite sprite ) : void
sprite Zprite
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Transform() 공개 메소드

public Transform ( Zprite sprite ) : void
sprite Zprite
리턴 void

TransformBillboarded() 공개 메소드

public TransformBillboarded ( Zprite sprite ) : void
sprite Zprite
리턴 void

UpdateBounds() 공개 메소드

public UpdateBounds ( ) : void
리턴 void

UpdateColors() 공개 메소드

public UpdateColors ( Zprite sprite ) : void
sprite Zprite
리턴 void

UpdatePositions() 공개 메소드

public UpdatePositions ( ) : void
리턴 void

UpdateUV() 공개 메소드

public UpdateUV ( Zprite sprite ) : void
sprite Zprite
리턴 void

프로퍼티 상세

UVs 보호되어 있는 프로퍼티

protected Vector2[] UVs
리턴 Vector2[]

activeBillboards 보호되어 있는 프로퍼티

protected ArrayList activeBillboards
리턴 ArrayList

activeBlocks 보호되어 있는 프로퍼티

protected ArrayList activeBlocks
리턴 ArrayList

allocBlockSize 공개적으로 프로퍼티

public int allocBlockSize
리턴 int

autoUpdateBounds 공개적으로 프로퍼티

public bool autoUpdateBounds
리턴 bool

availableBlocks 보호되어 있는 프로퍼티

protected ArrayList availableBlocks
리턴 ArrayList

boundUpdateInterval 보호되어 있는 프로퍼티

protected float boundUpdateInterval
리턴 float

colors 보호되어 있는 프로퍼티

protected Color[] colors
리턴 Color[]

colorsChanged 보호되어 있는 프로퍼티

protected bool colorsChanged
리턴 bool

material 공개적으로 프로퍼티

public Material material
리턴 Material

mesh 보호되어 있는 프로퍼티

protected Mesh mesh
리턴 Mesh

meshFilter 보호되어 있는 프로퍼티

protected MeshFilter meshFilter
리턴 MeshFilter

meshRenderer 보호되어 있는 프로퍼티

protected MeshRenderer meshRenderer
리턴 MeshRenderer

plane 공개적으로 프로퍼티

public SPRITE_PLANE plane
리턴 SPRITE_PLANE

sprites 공개적으로 프로퍼티

public Zprite[] sprites
리턴 Zprite[]

triIndices 보호되어 있는 프로퍼티

protected int[] triIndices
리턴 int[]

updateBounds 보호되어 있는 프로퍼티

protected bool updateBounds
리턴 bool

uvsChanged 보호되어 있는 프로퍼티

protected bool uvsChanged
리턴 bool

vertCountChanged 보호되어 있는 프로퍼티

protected bool vertCountChanged
리턴 bool

vertices 보호되어 있는 프로퍼티

protected Vector3[] vertices
리턴 Vector3[]

vertsChanged 보호되어 있는 프로퍼티

protected bool vertsChanged
리턴 bool

winding 공개적으로 프로퍼티

public WINDING_ORDER winding
리턴 WINDING_ORDER