Crate bevy_svg

source ·
Expand description

Load and disply simple SVG files in Bevy.

This crate provides a Bevy Plugin to easily load and display a simple SVG file.

§Usage

Simply add the crate in your Cargo.toml and add the plugin to your app

fn main() {
    App::new()
        .add_plugin(bevy_svg::prelude::SvgPlugin)
        .run();
}

Modules§

  • Import this module as use bevy_svg::prelude::* to get convenient imports.

Structs§

  • A plugin that provides resources and a system to draw Svgs.

Traits§