🌌
[Bevy] 平面の格子状グリッドを表示する
Bevyの真っ黒なWindowに平面のグリッドを表示させるとそれっぽくなります。

fn update(mut gizmos: Gizmos){
gizmos.grid(
Isometry3d::from_rotation(Quat::from_axis_angle(Vec3::X, PI * 0.5)),
UVec2::new(30, 30),
Vec2::splat(2.),
Color::linear_rgb(0.7, 0., 0.4)
)
.outer_edges();
}
Discussion