bevy/release-content/migration-guides/extendable_gizmos_primitives.md
Lynn Büttgenbach adb06ed8b9 Fix typo
2025-07-09 18:58:26 +02:00

573 B

title authors pull_requests
Extendable Gizmo-Primitives
@lynn-lumen
20049

The GizmoPrimitive3d trait, which is used to draw primitives using gizmos can now be implemented for custom primitives. If you did not declare any such primitives, you may need to remove this trait as it will now be unused.

If you did implement GizmoPrimitive3d for a custom GizmoBuffer-like struct, you will need to move your implementation for custom primitives to the primitive itself and use that implementation in a separate method on the previously mentioned struct.