Documentation: SpriteStainsComponent
Jump to navigation
Jump to search
Name | Type | Initial Value | Example Range | Description |
---|---|---|---|---|
Members | ||||
sprite_id | int | 0 | [0, 10] | which sprite (in the order in which they appear in the entity) are we going to stain? |
fade_stains_towards_srite_top | bool | true | if 1, shades get less opaque near the top of the sprite | |
Custom data types | ||||
stain_shaken_drop_chance_multiplier | LensValue<int> | 1 | how quickly stains are dropped relative to normal drop speed | |
mData | SpriteStains* | |||
Privates | ||||
mTextureHandle | VirtualTextureHandle | |||
mState | SpriteStainsState |