Метод | Описание | |
---|---|---|
GetNormalizedRectangles ( int maxCount = -1 ) : RectangleF[] |
Gets float rectangles of all subimages in normalized texture coordibates
|
|
GetRectangles ( int maxCount = -1 ) : Rectangle[] |
Gets rectangles of all subimages in texels.
|
|
GetSubImageNames ( ) : string[] |
Gets names of all subimages.
|
|
IndexOf ( string name ) : int |
Gets index if particular subimage.
|
|
TextureAtlas ( |
Creates texture atlas from stream.
|
|
this ( int index ) : Rectangle |
Gets subimage rectangle by its index
|
|
this ( string name ) : Rectangle |
Gets subimage rectangle by its index
|
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Disposes texture atlas.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public GetNormalizedRectangles ( int maxCount = -1 ) : RectangleF[] | ||
maxCount | int | Maximum number of recatangles. /// If maxCount greater than number of images the rest of /// he array will be filled with zeroed rectangles. |
Результат | RectangleF[] |
public GetRectangles ( int maxCount = -1 ) : Rectangle[] | ||
maxCount | int | Maximum number of recatangles. /// If maxCount greater than number of images /// the rest of the array will be filled with zeroed rectangles. |
Результат | Rectangle[] |
public TextureAtlas ( |
||
rs | ||
stream | Stream | |
useSRgb | bool | |
Результат | System |