igor::iSprite::iFrame Struct Reference

#include <iSprite.h>

Public Attributes

iaRectanglef _rect
 
iaVector2f _pivot
 
bool _pixel
 

Detailed Description

a frame defines an area within the texture that later can be rendered

Member Data Documentation

◆ _pivot

iaVector2f igor::iSprite::iFrame::_pivot

pivot or pivot of frame in texture coordinates 0.0-1.0

◆ _pixel

bool igor::iSprite::iFrame::_pixel

if true values are pixels else values are relative

◆ _rect

iaRectanglef igor::iSprite::iFrame::_rect

position of frame in texture coordinates 0.0-1.0


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