Urho3D
|
UI rendering quad. More...
#include <UIBatch.h>
Public Member Functions | |
UIQuad () | |
Construct with defaults. | |
UIQuad (const UIElement &element, int x, int y, int width, int height, int texOffsetX, int texOffsetY, int texWidth=0, int texHeight=0, Color *color=0) | |
Construct. |
Static Public Member Functions | |
static unsigned | GetInterpolatedColor (const UIElement &element, int x, int y) |
Return an interpolated color for an UI element. |
Public Attributes | |
int | left_ |
Left coordinate. | |
int | top_ |
Top coordinate. | |
int | right_ |
Right coordinate. | |
int | bottom_ |
Bottom coordinate. | |
short | leftUV_ |
Left texture coordinate. | |
short | topUV_ |
Top texture coordinate. | |
short | rightUV_ |
Right texture coordinate. | |
short | bottomUV_ |
Bottom texture coordinate. | |
unsigned | topLeftColor_ |
Top left color. | |
unsigned | topRightColor_ |
Top right color. | |
unsigned | bottomLeftColor_ |
Bottom left color. | |
unsigned | bottomRightColor_ |
Bottom right color. | |
bool | defined_ |
Defined flag. |
UI rendering quad.