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
width: u32
The width of each animation frame
height: u32
The height of each animation frame
sprites_in_row: i32
The number of frames in each row of the spritesheet
path: &'static str
The path to the spritesheet file