bevy/examples/3d
AlephCubed 3aed85a88b
Rename send_event and similar methods to write_event (#20017)
Fixes: #18963
Follows up on: #17977
Adopts: #18966

In 0.16, `EventWriter::send` was renamed to `EventWriter::write`, but
many methods were missed (sorry about that). This completes that
refactor by renaming all `send` methods and internals.

| Old | New |

|-------------------------------------|--------------------------------------|
| `World::send_event` | `World::write_event` |
| `World::send_event_default` | `World::write_event_default` |
| `World::send_event_batch` | `World::write_event_batch` |
| `DeferredWorld::send_event` | `DeferredWorld::write_event` |
| `DeferredWorld::send_event_default` |
`DeferredWorld::write_event_default` |
| `DeferredWorld::send_event_batch` | `DeferredWorld::write_event_batch`
|
| `Commands::send_event` | `Commmands::write_event` |
| `Events::send` | `Events::write` |
| `Events::send_default` | `Events::write_default` |
| `Events::send_batch` | `Events::write_batch` |
| `RemovedComponentEvents::send` | `RemovedComponentEvents::write` |
| `command::send_event` | `commmand::write_event` |
| `SendBatchIds` | `WriteBatchIds` |

---------

Co-authored-by: shwwwa <shwwwa.dev@gmail.com>
2025-07-07 22:05:16 +00:00
..
3d_scene.rs
3d_shapes.rs
3d_viewport_to_world.rs
animated_material.rs aligning public apis of Time,Timer and Stopwatch (#15962) 2024-10-16 21:09:32 +00:00
anisotropy.rs Upgrade to Rust 1.88 (#19825) 2025-06-26 19:38:19 +00:00
anti_aliasing.rs
atmosphere.rs Split Camera.hdr out into a new component (#18873) 2025-05-26 19:24:45 +00:00
atmospheric_fog.rs Merge Style properties into Node. Use ComputedNode for computed properties. (#15975) 2024-10-18 22:25:33 +00:00
auto_exposure.rs
blend_modes.rs
bloom_3d.rs
camera_sub_view.rs
clearcoat.rs
clustered_decals.rs Rename send_event and similar methods to write_event (#20017) 2025-07-07 22:05:16 +00:00
color_grading.rs
decal.rs
deferred_rendering.rs
depth_of_field.rs Split Camera.hdr out into a new component (#18873) 2025-05-26 19:24:45 +00:00
edit_material_on_gltf.rs
fog_volumes.rs
fog.rs Update bevy website link in newer code (#19874) 2025-06-30 23:24:36 +00:00
generate_custom_mesh.rs
irradiance_volumes.rs Make IrradianceVolume require LightProbe (and document this). (#19621) 2025-06-13 17:09:31 +00:00
light_textures.rs Rename send_event and similar methods to write_event (#20017) 2025-07-07 22:05:16 +00:00
lighting.rs Upgrade to Rust 1.88 (#19825) 2025-06-26 19:38:19 +00:00
lightmaps.rs
lines.rs Type erased materials (#19667) 2025-06-27 22:57:24 +00:00
load_gltf_extras.rs
load_gltf.rs
manual_material.rs
mesh_ray_cast.rs
meshlet.rs Meshlet BVH Culling (#19318) 2025-06-29 00:04:21 +00:00
mixed_lighting.rs Event Split: Event, EntityEvent, and BufferedEvent (#19647) 2025-06-15 16:46:34 +00:00
motion_blur.rs Remove WebGL padding from MotionBlur (#18727) 2025-04-06 20:00:59 +00:00
occlusion_culling.rs
order_independent_transparency.rs
orthographic.rs
parallax_mapping.rs
parenting.rs aligning public apis of Time,Timer and Stopwatch (#15962) 2024-10-16 21:09:32 +00:00
pbr.rs
pcss.rs
post_processing.rs Split Camera.hdr out into a new component (#18873) 2025-05-26 19:24:45 +00:00
query_gltf_primitives.rs Cosmetic tweaks to query_gltf_primitives (#16102) 2024-10-27 19:06:19 +00:00
reflection_probes.rs
render_to_texture.rs
rotate_environment_map.rs
scrolling_fog.rs
shadow_biases.rs
shadow_caster_receiver.rs
skybox.rs Revert "Replace Ambient Lights with Environment Map Lights (#17482)" (#18167) 2025-03-05 23:08:46 +00:00
solari.rs
specular_tint.rs
spherical_area_lights.rs
split_screen.rs
spotlight.rs Split Camera.hdr out into a new component (#18873) 2025-05-26 19:24:45 +00:00
ssao.rs
ssr.rs Split Camera.hdr out into a new component (#18873) 2025-05-26 19:24:45 +00:00
texture.rs
tonemapping.rs Rename JustifyText to Justify (#19522) 2025-06-09 19:59:48 +00:00
transmission.rs Make TAA non-experimental, fixes (#18349) 2025-06-02 16:04:08 +00:00
transparency_3d.rs
two_passes.rs
update_gltf_scene.rs
vertex_colors.rs
visibility_range.rs
volumetric_fog.rs
wireframe.rs