Skip to main content

resolve_gizmo_camera

Macro resolve_gizmo_camera 

Source
macro_rules! resolve_gizmo_camera {
    ($marked:expr, $all:expr) => { ... };
}
Expand description

Resolves which camera the gizmo should use.

Prefers cameras marked with TransformGizmoCamera. Falls back to the sole camera in the world when no marker is present, and warns when ambiguous.