We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b92626 commit 9ddd64dCopy full SHA for 9ddd64d
crates/bevy_render/src/extract_param.rs
@@ -36,6 +36,10 @@ impl<P: SystemParam> FromWorld for MainWorldState<P> {
36
/// ## Examples
37
///
38
/// ```rust
39
+/// use bevy_ecs::prelude::*;
40
+/// use bevy_render::Extract;
41
+/// # #[derive(Component)]
42
+/// # struct Cloud;
43
/// fn extract_clouds(mut commands: Commands, mut clouds: Extract<Query<Entity, With<Cloud>>>) {
44
/// for cloud in clouds.value().iter() {
45
/// commands.get_or_spawn(cloud).insert(Cloud);
0 commit comments