Property | Type | Description | |
---|---|---|---|
allocBlockSize | int | ||
autoUpdateBounds | bool | ||
material | Material | ||
plane | SPRITE_PLANE | ||
sprites | Zprite[] | ||
winding | WINDING_ORDER |
Property | Type | Description | |
---|---|---|---|
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 |
Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
EnlargeArrays ( int count ) : int | ||
InitArrays ( ) : void |
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 | |
return | Zprite, |
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 | |
return | Zprite, |
public PixelCoordToUVCoord ( Vector2 xy ) : Vector2 | ||
xy | Vector2 | |
return | Vector2 |
public PixelCoordToUVCoord ( int x, int y ) : Vector2 | ||
x | int | |
y | int | |
return | Vector2 |
public PixelSpaceToUVSpace ( Vector2 xy ) : Vector2 | ||
xy | Vector2 | |
return | Vector2 |
public PixelSpaceToUVSpace ( int x, int y ) : Vector2 | ||
x | int | |
y | int | |
return | Vector2 |
public ScheduleBoundsUpdate ( float seconds ) : void | ||
seconds | float | |
return | void |
public SetBillboarded ( Zprite sprite ) : void | ||
sprite | Zprite | |
return | void |
public TransformBillboarded ( Zprite sprite ) : void | ||
sprite | Zprite | |
return | void |