Open 3D Engine TextureAtlas Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
TextureAtlasNamespace::AtlasCoordinates Struct Reference

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)
 

Detailed Description

Struct that represents a slot on a texture atlas.


The documentation for this struct was generated from the following file: