Function traffloat_def::atlas::to_path[][src]

pub fn to_path(variant: &str, spritesheet_id: SpritesheetId) -> String
Expand description

Converts variant + sprite ID into asset path.

The return format is in the form assets/variant/01234567.png.