overview wiki api reference download
 All Classes Functions Variables Typedefs Enumerations Enumerator
Public Member Functions
gameplay::Theme::ThemeImage Class Reference

#include <Theme.h>

Inheritance diagram for gameplay::Theme::ThemeImage:
gameplay::Ref

List of all members.

Public Member Functions

const char * getId () const
const UVsgetUVs () const
const RectanglegetRegion () const
const Vector4getColor () const

Detailed Description

Class representing an image within the theme's texture atlas. An image has a region and a blend color in addition to an ID. UV coordinates are calculated from the region and can be retrieved.


Member Function Documentation

Gets the color of the ThemeImage in a Vector4.

const char* gameplay::Theme::ThemeImage::getId ( ) const

Gets the ID of the ThemeImage.

Gets the Rectangle region of the ThemeImage.

Gets the UV coordinates for the ThemeImage.

 All Classes Functions Variables Typedefs Enumerations Enumerator