Method | Description | |
---|---|---|
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
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Disposes texture atlas.
|
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. |
return | 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. |
return | Rectangle[] |
public TextureAtlas ( |
||
rs | ||
stream | Stream | |
useSRgb | bool | |
return | System |