pub fn propagate_parent_transforms(
queue: Local<'_, WorkQueue>,
roots: Query<'_, '_, (Entity, Ref<'_, Transform>, &mut GlobalTransform, &Children, Ref<'_, TransformTreeChanged>), Without<ChildOf>>,
nodes: Query<'_, '_, (Entity, (Ref<'static, Transform>, Mut<'static, GlobalTransform>, Ref<'static, TransformTreeChanged>), (Option<&'static Children>, &'static ChildOf))>,
static_optimizations: Res<'_, StaticTransformOptimizations>,
)Expand description
Update GlobalTransform component of entities based on entity hierarchy and Transform
component.
Third party plugins should ensure that this is used in concert with
sync_simple_transforms and
mark_dirty_trees.