Function bevy_mod_raycast::update_debug_cursor[][src]

pub fn update_debug_cursor<T: 'static + Send + Sync>(
    commands: Commands<'_, '_>,
    meshes: ResMut<'_, Assets<Mesh>>,
    materials: ResMut<'_, Assets<StandardMaterial>>,
    added_sources_query: Query<'_, '_, &RayCastSource<T>, Added<RayCastSource<T>>>,
    cursor_query: Query<'_, '_, &mut GlobalTransform, With<DebugCursor<T>>>,
    cursor_tail_query: Query<'_, '_, &mut GlobalTransform, (With<DebugCursorTail<T>>, Without<DebugCursor<T>>)>,
    visibility_query: Query<'_, '_, &mut Visibility, With<DebugCursorMesh<T>>>,
    raycast_source_query: Query<'_, '_, &RayCastSource<T>>
)
Expand description

Updates the 3d cursor to be in the pointed world coordinates