Grid plane
Grid plane is a Rust plugin for the Bevy game engine that allows you to add a grid plane inside your scene. This plugin provides a simple way to create a grid on 3 axes: xy
, yz
, and zx
.
Features
- Add grid plane on the scene.
- Set grid size and spacing.
- Set grid axes such as
xy
,yz
, andzx
. - Set grid minor and major line colors.
Usage
To use the bevy_grid plugin, simply add it to your Bevy app's plugin list:
use *;
use GridPlanePlugin;
Usage with custom options
use *;
use ;
Examples
The Grid Plugin comes with three example scenes to get you started:
cargo run --example grid_plane_default
cargo run --example grid_plane_with_options
cargo run --example grid_plane_with_some_options
Compatible Bevy versions
grid_plane | bevy |
---|---|
0.1.0 | 0.10 |
License
Grid plane is licensed under MIT