Skip to main content

check_wireframe_entities_needing_specialization

Function check_wireframe_entities_needing_specialization 

Source
pub fn check_wireframe_entities_needing_specialization(
    needs_specialization: Query<'_, '_, Entity, Or<(Changed<Mesh3d>, AssetChanged<Mesh3d>, Changed<Mesh3dWireframe>, AssetChanged<Mesh3dWireframe>, Changed<WireframeLineWidth>, Changed<WireframeTopology>)>>,
    entities_needing_specialization: ResMut<'_, WireframeEntitiesNeedingSpecialization>,
    removed_mesh_3d_components: RemovedComponents<'_, '_, Mesh3d>,
    removed_mesh_3d_wireframe_components: RemovedComponents<'_, '_, Mesh3dWireframe>,
)
Expand description

Finds 3D wireframe entities that have changed in such a way as to potentially require specialization and adds them to the WireframeEntitiesNeedingSpecialization list.