stmm-games-doc  0.32.0
Public Attributes | List of all members
stmg::MaskModifier::LocalInit Struct Reference
Inheritance diagram for stmg::MaskModifier::LocalInit:
Inheritance graph
[legend]

Public Attributes

int32_t m_nElapsedTileAniIdx = -1
 The tileanimation that determines the mask to apply. More...
 
double m_fDefaultElapsed = -1.0
 The default elapsed value. More...
 
bool m_bInvert = false
 Whether the mask animation should be inverted. More...
 
shared_ptr< Imagem_refMask
 The default image. More...
 
shared_ptr< TileAnim_refTileAni
 The image tile ani. More...
 

Member Data Documentation

◆ m_bInvert

bool stmg::MaskModifier::LocalInit::m_bInvert = false

Whether the mask animation should be inverted.

Default is false.

◆ m_fDefaultElapsed

double stmg::MaskModifier::LocalInit::m_fDefaultElapsed = -1.0

The default elapsed value.

From 0.0 to 1.0 or -1.0 if not defined.

◆ m_nElapsedTileAniIdx

int32_t stmg::MaskModifier::LocalInit::m_nElapsedTileAniIdx = -1

The tileanimation that determines the mask to apply.

Default -1 (undefined).

◆ m_refMask

shared_ptr<Image> stmg::MaskModifier::LocalInit::m_refMask

The default image.

Can be null.

◆ m_refTileAni

shared_ptr<TileAni> stmg::MaskModifier::LocalInit::m_refTileAni

The image tile ani.

Can be null.