Module prelude

Source
Expand description

The gizmos prelude.

This includes the most common types in this crate, re-exported for your convenience.

Structs§

AabbGizmoConfigGroup
The GizmoConfigGroup used for debug visualizations of Aabb components on entities
DefaultGizmoConfigGroup
The default gizmo config group.
Gizmo
A component that draws the gizmos of a GizmoAsset.
GizmoAsset
A collection of gizmos.
GizmoConfig
A struct that stores configuration for gizmos.
GizmoConfigStore
A Resource storing GizmoConfig and GizmoConfigGroup structs
GizmoLineConfig
A struct that stores configuration for gizmos.
Gizmos
A SystemParam for drawing gizmos.
ShowAabbGizmo
Add this Component to an entity to draw its Aabb component.

Enums§

GizmoLineJoint
An enum configuring how line joints will be drawn.
GizmoLineStyle
An enum used to configure the style of gizmo lines, similar to CSS line-style

Traits§

AppGizmoBuilder
A extension trait adding App::init_gizmo_group and App::insert_gizmo_config.
GizmoConfigGroup
A trait used to create gizmo configs groups.
GizmoPrimitive2d
A trait for rendering 2D geometric primitives (P) with GizmoBuffer.
GizmoPrimitive3d
A trait for rendering 3D geometric primitives (P) with GizmoBuffer.

Derive Macros§

GizmoConfigGroup
Implements the GizmoConfigGroup trait for a gizmo config group type.