|
stmm-games-doc
0.32.0
|
Image data used to fill background animation. More...
Public Attributes | |
| int32_t | m_nImgId = -1 |
| The image id. More... | |
| double | m_fImgW = 0.0 |
| Width in tiles. More... | |
| double | m_fImgH = 0.0 |
| Height in tiles. More... | |
| double | m_fImgRelPosX = 0.0 |
| Initial x position relative to the animation origin. More... | |
| double | m_fImgRelPosY = 0.0 |
| Initial y position relative to the animation origin. More... | |
| bool | m_bRelPosScrolled = false |
| Whether the relative position is scrolled. More... | |
Image data used to fill background animation.
| bool stmg::BackgroundEvent::PatternImage::m_bRelPosScrolled = false |
Whether the relative position is scrolled.
If true the animation is also scrolled and the relative position is counterscrolled. Default: true.
| double stmg::BackgroundEvent::PatternImage::m_fImgH = 0.0 |
Height in tiles.
If <= 0 either natural size or ratio will be used.
| double stmg::BackgroundEvent::PatternImage::m_fImgRelPosX = 0.0 |
Initial x position relative to the animation origin.
In tile widths.
| double stmg::BackgroundEvent::PatternImage::m_fImgRelPosY = 0.0 |
Initial y position relative to the animation origin.
In tile heights.
| double stmg::BackgroundEvent::PatternImage::m_fImgW = 0.0 |
Width in tiles.
If <= 0 either natural size or ratio will be used.
| int32_t stmg::BackgroundEvent::PatternImage::m_nImgId = -1 |
The image id.
Must be valid id in level().getNamed().images().
1.8.13