Module vpeol

Source
Expand description

§Viewport Editing Overlay - utilities for editing entities from a viewport.

This module does not do much, but provide common functionalities for more concrete modules like vpeol_2d and vpeol_3d.

vpeol modules also support bevy_reflect::Reflect by enabling the feature beavy_reflect.

Modules§

prelude

Structs§

VpeolBasePlugin
Add base systems common for Vpeol editing.
VpeolCameraState
Data passed between Vpeol abstraction and backends.
VpeolCursorPointing
Information on how the cursor is pointing at an entity.
VpeolDragPlane
A plane to define the drag direction of entities.
VpeolRepositionLevel
Apply a transform to every entity in the level.
VpeolRootResolver
Helper utility for finding the Yoleck controlled entity that’s in charge of an entity the user points at.
VpeolRouteClickTo
Marker for viewport editor overlay plugins to route child interaction to parent entities.
VpeolSelectionCuePlugin
Add a pulse effect when an entity is being selected.
VpeolWillContainClickableChildren
Marker for entities that will be interacted in the viewport using their children.
YoleckKnobClick
A passed data to a knob entity that indicate it was clicked by the level editor.

Enums§

VpeolClicksOnObjectsState
State for determining how the user is interacting with entities using the mouse buttons.
VpeolSystemSet
Order of Vpeol operations. Important for abstraction and backends to talk with each other.

Functions§

handle_clickable_children_system
Add VpeolRouteClickTo of entities marked with VpeolWillContainClickableChildren.
vpeol_read_click_on_entity
Detects an entity that’s being clicked on. Meant to be used with Yoleck’s exclusive edit systems and with Bevy’s system piping.