Skip to main content

Module prelude

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.
FrustumGizmoConfigGroup
The GizmoConfigGroup used for debug visualizations of Frustum components on entities
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.
ShowFrustumGizmo
Add this Component to an entity to draw its Frustum component.
ShowSkinnedMeshBoundsGizmo
Add this Component to an entity to draw its DynamicSkinnedMeshBounds component.
SkinnedMeshBoundsGizmoConfigGroup
The GizmoConfigGroup used for debug visualizations of entities with DynamicSkinnedMeshBounds
TransformGizmoCamera
Marker component for the camera the transform gizmo should use.
TransformGizmoFocus
Component that marks the entity the transform gizmo operates on.
TransformGizmoPlugin
Opt-in plugin that adds the interactive transform gizmo.
TransformGizmoSettings
Configuration and preferences for the transform gizmo.
TransformGizmoState
Runtime state of the transform gizmo (drag and hover).
TransformGizmoSystems
System set for the transform gizmo. All transform gizmo systems run in PostUpdate within this set.

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
TransformGizmoAxis
Which axis the user is interacting with.
TransformGizmoMode
Which manipulation mode the gizmo is in.
TransformGizmoSpace
Whether the gizmo transforms the object using world or local space axes.

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.

Functions§

gizmo
A global gizmo context for use outside of bevy systems.

Derive Macros§

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