pub struct LineSegments;Expand description
class LineSegments extends Line — a series of lines drawn between pairs
of vertices, i.e. line-list rather than line-strip. The only state it
adds is isLineSegments, so it is a constructor on Line’s payload
rather than a payload of its own.
Implementations§
Source§impl LineSegments
impl LineSegments
Sourcepub fn new(
geometry: Rc<BufferGeometry>,
material: MeshBasicNodeMaterial,
) -> ObjectRef
pub fn new( geometry: Rc<BufferGeometry>, material: MeshBasicNodeMaterial, ) -> ObjectRef
new LineSegments( geometry, material ).
Auto Trait Implementations§
impl Freeze for LineSegments
impl RefUnwindSafe for LineSegments
impl Send for LineSegments
impl Sync for LineSegments
impl Unpin for LineSegments
impl UnsafeUnpin for LineSegments
impl UnwindSafe for LineSegments
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