Struct that represents a slot on a texture atlas. More...
#include <TextureAtlas.h>
Public Member Functions | |
AZ_CLASS_ALLOCATOR (AtlasCoordinates, AZ::SystemAllocator) | |
AZ_TYPE_INFO (AtlasCoordinates, "{FC5D6A60-1056-4F6C-96F7-6A47912F8A35}") | |
AtlasCoordinates (int left, int right, int top, int bottom) | |
The left-right style is prefferable for input because thats what the asset builder operates with. | |
int | GetRight () const |
void | SetRight (int value) |
int | GetBottom () const |
void | SetBottom (int value) |
int | GetLeft () const |
void | SetLeft (int value) |
int | GetTop () const |
void | SetTop (int value) |
int | GetWidth () const |
void | SetWidth (int value) |
int | GetHeight () const |
void | SetHeight (int value) |
Static Public Member Functions | |
static void | Reflect (AZ::ReflectContext *context) |
Struct that represents a slot on a texture atlas.