sftools
2.0 dev
Bunch of tools for SFML application development
|
Combine horizontal, vertical and precedence policies together to define how a sprite sheet should be read. More...
#include <LoopFrameStream.hpp>
Public Member Functions | |
Settings (HorizontalStartFromPolicy horizontalPolicy=FromLeft, VerticalStartFromPolicy verticalPolicy=FromTop, PrecedencePolicy precedencePolicy=HorizontalFirst) | |
Constructor. | |
Public Attributes | |
HorizontalStartFromPolicy | horizontalPolicy |
Tell which horizontal policy should be used. | |
VerticalStartFromPolicy | verticalPolicy |
Tell which vertical policy should be used. | |
PrecedencePolicy | precedencePolicy |
Tell which precedence policy should be used. | |
Combine horizontal, vertical and precedence policies together to define how a sprite sheet should be read.
Definition at line 130 of file LoopFrameStream.hpp.
|
inline |
Constructor.
horizontalPolicy | tell which horizontal policy should be used |
verticalPolicy | tell which vertical policy should be used |
precedencePolicy | tell which precedence policy should be used |
Definition at line 139 of file LoopFrameStream.hpp.
HorizontalStartFromPolicy sftools::LoopFrameStream::Settings::horizontalPolicy |
Tell which horizontal policy should be used.
Definition at line 149 of file LoopFrameStream.hpp.
PrecedencePolicy sftools::LoopFrameStream::Settings::precedencePolicy |
Tell which precedence policy should be used.
Definition at line 151 of file LoopFrameStream.hpp.
VerticalStartFromPolicy sftools::LoopFrameStream::Settings::verticalPolicy |
Tell which vertical policy should be used.
Definition at line 150 of file LoopFrameStream.hpp.