pub struct MeshVisit<'v> {
pub node: Option<NodeId>,
pub mesh: usize,
pub surface: &'v MeshSurface,
pub to_frame: Mat4,
}Expand description
A mesh of a surface layer that visit_meshes found.
Fields§
§node: Option<NodeId>The node whose layer carries the surface.
mesh: usizeWhich of the layer’s meshes it is: 0 for the owner.
surface: &'v MeshSurfaceThe surface as the layer’s modifier gave it, with its own transform.
to_frame: Mat4Maps the mesh’s own space to the frame of the layer that the walk started from, through the surface’s own transform.
Auto Trait Implementations§
impl<'v> Forget for MeshVisit<'v>
impl<'v> Freeze for MeshVisit<'v>
impl<'v> Move for MeshVisit<'v>
impl<'v> RefUnwindSafe for MeshVisit<'v>
impl<'v> Send for MeshVisit<'v>
impl<'v> Sync for MeshVisit<'v>
impl<'v> Unpin for MeshVisit<'v>
impl<'v> UnsafeUnpin for MeshVisit<'v>
impl<'v> UnwindSafe for MeshVisit<'v>
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