Function bevy_mod_raycast::update_debug_cursor[][src]

pub fn update_debug_cursor<T: 'static + Send + Sync>(
    commands: Commands<'_>,
    state: Res<'_, PluginState<T>>,
    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 Visible, With<DebugCursorMesh<T>>>,
    raycast_source_query: Query<'_, &RayCastSource<T>>
)

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