Skip to content

Commit 51eeaeb

Browse files
committed
Update doc about entity extraction
1 parent fb52dbe commit 51eeaeb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

crates/bevy_scene/src/dynamic_scene_builder.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,17 @@ use std::collections::BTreeMap;
2020
/// This can be changed by [specifying a filter](DynamicSceneBuilder::with_filter) or by explicitly
2121
/// [allowing](DynamicSceneBuilder::allow)/[denying](DynamicSceneBuilder::deny) certain components.
2222
///
23+
/// Extraction happens immediately and uses the filter as it exists during the time of extraction.
24+
///
2325
/// # Resource Extraction
2426
///
2527
/// By default, all resources registered with [`ReflectResource`] type data in a world's [`AppTypeRegistry`] will be extracted.
2628
/// (this type data is added automatically during registration if [`Reflect`] is derived with the `#[reflect(Resource)]` attribute).
2729
/// This can be changed by [specifying a filter](DynamicSceneBuilder::with_resource_filter) or by explicitly
2830
/// [allowing](DynamicSceneBuilder::allow_resource)/[denying](DynamicSceneBuilder::deny_resource) certain resources.
2931
///
32+
/// Extraction happens immediately and uses the filter as it exists during the time of extraction.
33+
///
3034
/// # Entity Order
3135
///
3236
/// Extracted entities will always be stored in ascending order based on their [index](Entity::index).

0 commit comments

Comments
 (0)