Struct mold2d::sprite::SpritesheetConfig [] [src]

pub struct SpritesheetConfig {
    pub width: u32,
    pub height: u32,
    pub sprites_in_row: i32,
    pub path: &'static str,
}

Contains configuration fields for parsing a spritesheet

Fields

The width of each animation frame

The height of each animation frame

The number of frames in each row of the spritesheet

The path to the spritesheet file