Rename animated fox examples to better communicate their purpose (#17239)

Fixes #17192.

Replaces "animated_fox" with "animated_mesh".

I considered a few different names - should it say "skinned_mesh" to be
precise? Should it mention gltf? But "animated_mesh" seems intuitive and
keeps it short.

## Testing

- Ran all three examples (Windows 10).
This commit is contained in:
Greeble 2025-01-08 18:59:17 +00:00 committed by GitHub
parent e896c364dc
commit 6462935b32
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 15 additions and 15 deletions

View File

@ -1281,34 +1281,34 @@ category = "Animation"
wasm = true wasm = true
[[example]] [[example]]
name = "animated_fox" name = "animated_mesh"
path = "examples/animation/animated_fox.rs" path = "examples/animation/animated_mesh.rs"
doc-scrape-examples = true doc-scrape-examples = true
[package.metadata.example.animated_fox] [package.metadata.example.animated_mesh]
name = "Animated Fox" name = "Animated Mesh"
description = "Plays an animation from a skinned glTF" description = "Plays an animation from a skinned glTF"
category = "Animation" category = "Animation"
wasm = true wasm = true
[[example]] [[example]]
name = "animated_fox_control" name = "animated_mesh_control"
path = "examples/animation/animated_fox_control.rs" path = "examples/animation/animated_mesh_control.rs"
doc-scrape-examples = true doc-scrape-examples = true
[package.metadata.example.animated_fox_control] [package.metadata.example.animated_mesh_control]
name = "Animated Fox Control" name = "Animated Mesh Control"
description = "Plays an animation from a skinned glTF with keyboard controls" description = "Plays an animation from a skinned glTF with keyboard controls"
category = "Animation" category = "Animation"
wasm = true wasm = true
[[example]] [[example]]
name = "animated_fox_events" name = "animated_mesh_events"
path = "examples/animation/animated_fox_events.rs" path = "examples/animation/animated_mesh_events.rs"
doc-scrape-examples = true doc-scrape-examples = true
[package.metadata.example.animated_fox_events] [package.metadata.example.animated_mesh_events]
name = "Animated Fox Events" name = "Animated Mesh Events"
description = "Plays an animation from a skinned glTF with events" description = "Plays an animation from a skinned glTF with events"
category = "Animation" category = "Animation"
wasm = true wasm = true

View File

@ -194,9 +194,9 @@ Example | Description
Example | Description Example | Description
--- | --- --- | ---
[Animated Fox](../examples/animation/animated_fox.rs) | Plays an animation from a skinned glTF [Animated Mesh](../examples/animation/animated_mesh.rs) | Plays an animation from a skinned glTF
[Animated Fox Control](../examples/animation/animated_fox_control.rs) | Plays an animation from a skinned glTF with keyboard controls [Animated Mesh Control](../examples/animation/animated_mesh_control.rs) | Plays an animation from a skinned glTF with keyboard controls
[Animated Fox Events](../examples/animation/animated_fox_events.rs) | Plays an animation from a skinned glTF with events [Animated Mesh Events](../examples/animation/animated_mesh_events.rs) | Plays an animation from a skinned glTF with events
[Animated Transform](../examples/animation/animated_transform.rs) | Create and play an animation defined by code that operates on the `Transform` component [Animated Transform](../examples/animation/animated_transform.rs) | Create and play an animation defined by code that operates on the `Transform` component
[Animated UI](../examples/animation/animated_ui.rs) | Shows how to use animation clips to animate UI properties [Animated UI](../examples/animation/animated_ui.rs) | Shows how to use animation clips to animate UI properties
[Animation Events](../examples/animation/animation_events.rs) | Demonstrate how to use animation events [Animation Events](../examples/animation/animation_events.rs) | Demonstrate how to use animation events