pub struct WorldLines(pub Vec<Line>);Expand description
World-space lines to draw this frame (trajectories, tethers, path previews, the editor’s origin axes), republished by their producer every frame: GraphicsSystem expands whatever it finds into ribbon geometry and hands it to the backend, so a stale list would keep drawing. Absent when nothing draws lines, which keeps the line pass out of the frame graph.
Tuple Fields§
§0: Vec<Line>Trait Implementations§
Source§impl Clone for WorldLines
impl Clone for WorldLines
Source§fn clone(&self) -> WorldLines
fn clone(&self) -> WorldLines
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WorldLines
impl Debug for WorldLines
Source§impl Default for WorldLines
impl Default for WorldLines
Source§fn default() -> WorldLines
fn default() -> WorldLines
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WorldLines
impl RefUnwindSafe for WorldLines
impl Send for WorldLines
impl Sync for WorldLines
impl Unpin for WorldLines
impl UnsafeUnpin for WorldLines
impl UnwindSafe for WorldLines
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more