Свойство | Тип | Описание | |
---|---|---|---|
mInner | Rect | ||
mInnerUV | Rect | ||
mOuter | Rect | ||
mOuterUV | Rect | ||
mScale | Vector3 | ||
mSprite | UIAtlas.Sprite |
Метод | Описание | |
---|---|---|
GetAtlasSprite ( ) : UIAtlas.Sprite, |
Retrieve the atlas sprite referenced by the spriteName field.
|
|
MakePixelPerfect ( ) : void |
Adjust the scale of the widget to make it pixel-perfect.
|
|
OnFill ( BetterList |
Virtual function called by the UIScreen that fills the buffers.
|
|
OnUpdate ( ) : bool |
Update the UV coordinates.
|
|
UpdateUVs ( bool force ) : void |
Update the texture UVs used by the widget.
|
Метод | Описание | |
---|---|---|
FilledFill ( BetterList |
Filled sprite fill function.
|
|
OnStart ( ) : void |
Set the atlas and the sprite.
|
|
Rotate ( Vector2 v, int offset ) : void |
Helper function that copies the contents of the array, rotated by the specified offset.
|
|
SetAtlasSprite ( UIAtlas sp ) : void |
Set the atlas sprite directly.
|
|
SimpleFill ( BetterList |
Regular sprite fill function is quite simple.
|
|
SlicedFill ( BetterList |
Sliced sprite fill function is more complicated as it generates 9 quads instead of 1.
|
|
TiledFill ( BetterList |
Tiled sprite fill function.
|
Метод | Описание | |
---|---|---|
AdjustRadial ( Vector2 xy, Vector2 uv, float fill, bool invert ) : bool |
Adjust the specified quad, making it be radially filled instead.
|
protected FilledFill ( BetterList |
||
verts | BetterList |
|
uvs | BetterList |
|
cols | BetterList |
|
Результат | void |
public GetAtlasSprite ( ) : UIAtlas.Sprite, | ||
Результат | UIAtlas.Sprite, |
public OnFill ( BetterList |
||
verts | BetterList |
|
uvs | BetterList |
|
cols | BetterList |
|
Результат | void |
protected Rotate ( Vector2 v, int offset ) : void | ||
v | Vector2 | |
offset | int | |
Результат | void |
protected SetAtlasSprite ( UIAtlas sp ) : void | ||
sp | UIAtlas | |
Результат | void |
protected SimpleFill ( BetterList |
||
verts | BetterList |
|
uvs | BetterList |
|
cols | BetterList |
|
Результат | void |
protected SlicedFill ( BetterList |
||
verts | BetterList |
|
uvs | BetterList |
|
cols | BetterList |
|
Результат | void |
protected TiledFill ( BetterList |
||
verts | BetterList |
|
uvs | BetterList |
|
cols | BetterList |
|
Результат | void |