Struct landmass::ValidNavigationMesh
source · pub struct ValidNavigationMesh { /* private fields */ }
Expand description
A navigation mesh which has been validated and derived data has been computed.
Implementations§
sourcepub fn get_bounds(&self) -> BoundingBox
pub fn get_bounds(&self) -> BoundingBox
Returns the bounds of the navigation mesh.
pub fn get_edge_points(&self, edge_ref: MeshEdgeRef) -> (Vec3, Vec3)
pub fn find_linkable_edges( &self, region_bounds: BoundingBox, transform: Transform, linkable_distance_to_region_edge: f32 ) -> [Vec<MeshEdgeRef>; 6]
Trait Implementations§
source§fn clone(&self) -> ValidNavigationMesh
fn clone(&self) -> ValidNavigationMesh
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
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