#include <SpriteComponent.h>
star::SpriteComponent::SpriteComponent |
( |
const tstring & |
filepath, |
|
|
const tstring & |
spriteName, |
|
|
bool |
bIsHUDElement = false , |
|
|
int |
widthSegments = 1 , |
|
|
int |
heightSegments = 1 |
|
) |
| |
star::SpriteComponent::~SpriteComponent |
( |
| ) |
|
|
virtual |
void star::SpriteComponent::CreateIndices |
( |
| ) |
|
|
protectedvirtual |
void star::SpriteComponent::CreateVertices |
( |
| ) |
|
|
protectedvirtual |
void star::SpriteComponent::Draw |
( |
| ) |
|
|
virtual |
const tstring & star::SpriteComponent::GetFilePath |
( |
| ) |
const |
int32 star::SpriteComponent::GetHeight |
( |
| ) |
const |
const tstring & star::SpriteComponent::GetName |
( |
| ) |
const |
std::vector< GLfloat > star::SpriteComponent::GetUVCoords |
( |
| ) |
const |
std::vector< GLfloat > star::SpriteComponent::GetVertices |
( |
| ) |
const |
int32 star::SpriteComponent::GetWidth |
( |
| ) |
const |
void star::SpriteComponent::InitializeComponent |
( |
| ) |
|
|
protectedvirtual |
void star::SpriteComponent::SetCurrentSegment |
( |
int |
widthSegment, |
|
|
int |
heightSegment |
|
) |
| |
virtual void star::SpriteComponent::Update |
( |
const Context & |
context | ) |
|
|
inlinevirtual |
int32 star::SpriteComponent::m_CurrentHeightSegment |
|
protected |
int32 star::SpriteComponent::m_CurrentWidthSegment |
|
protected |
int32 star::SpriteComponent::m_HeightSegments |
|
protected |
int32 star::SpriteComponent::m_Heigth |
|
protected |
GLfloat star::SpriteComponent::m_UvCoords[8] |
|
protected |
GLfloat star::SpriteComponent::m_Vertices[12] |
|
protected |
int32 star::SpriteComponent::m_Width |
|
protected |
int32 star::SpriteComponent::m_WidthSegments |
|
protected |
The documentation for this class was generated from the following files: