#[non_exhaustive]pub struct TileCacheBuilderConfig {
pub cs: f32,
pub ch: f32,
pub walkable_height: i32,
pub walkable_radius: i32,
pub walkable_climb: i32,
pub max_edge_len: f32,
pub max_simplification_error: f32,
pub min_region_area: i32,
pub merge_region_area: i32,
pub max_verts_per_poly: i32,
}Expand description
Tile cache builder configuration
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.cs: f32Cell size
ch: f32Cell height
walkable_height: i32Agent height
walkable_radius: i32Agent radius
walkable_climb: i32Agent max climb
max_edge_len: f32Maximum edge length
max_simplification_error: f32Maximum simplification error
min_region_area: i32Minimum region size
merge_region_area: i32Region merge area
max_verts_per_poly: i32Maximum vertices per polygon
Trait Implementations§
Source§impl Clone for TileCacheBuilderConfig
impl Clone for TileCacheBuilderConfig
Source§fn clone(&self) -> TileCacheBuilderConfig
fn clone(&self) -> TileCacheBuilderConfig
Returns a duplicate 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 moreSource§impl Debug for TileCacheBuilderConfig
impl Debug for TileCacheBuilderConfig
Auto Trait Implementations§
impl Freeze for TileCacheBuilderConfig
impl RefUnwindSafe for TileCacheBuilderConfig
impl Send for TileCacheBuilderConfig
impl Sync for TileCacheBuilderConfig
impl Unpin for TileCacheBuilderConfig
impl UnsafeUnpin for TileCacheBuilderConfig
impl UnwindSafe for TileCacheBuilderConfig
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