Skip to main content

virtual_segment_to_cursor

Function virtual_segment_to_cursor 

Source
pub fn virtual_segment_to_cursor(
    s: Single<'_, '_, (&Transform, &mut VirtualSegment, &mut Mesh2d), Without<VirtualNode>>,
    node_transforms: Query<'_, '_, &Transform, With<TrackNode>>,
    cursor_pos: Res<'_, CursorPos>,
    meshes: ResMut<'_, Assets<Mesh>>,
)