DtNavMeshCreateParams

Struct DtNavMeshCreateParams 

Source
pub struct DtNavMeshCreateParams<'t> {
Show 26 fields pub verts: Option<&'t [[u16; 3]]>, pub polys: Option<&'t [u16]>, pub poly_flags: Option<&'t [u16]>, pub poly_areas: Option<&'t [u8]>, pub nvp: usize, pub detail_meshes: Option<&'t [[u32; 4]]>, pub detail_verts: Option<&'t [[f32; 3]]>, pub detail_tris: Option<&'t [[u8; 4]]>, pub off_mesh_con_verts: Option<&'t [DtAABB]>, pub off_mesh_con_rad: Option<&'t [f32]>, pub off_mesh_con_flags: Option<&'t [u16]>, pub off_mesh_con_areas: Option<&'t [u8]>, pub off_mesh_con_dir: Option<&'t [u8]>, pub off_mesh_con_user_id: Option<&'t [u32]>, pub user_id: u32, pub tile_x: i32, pub tile_y: i32, pub tile_layer: i32, pub bmin: [f32; 3], pub bmax: [f32; 3], pub walkable_height: f32, pub walkable_radius: f32, pub walkable_climb: f32, pub cs: f32, pub ch: f32, pub build_bv_tree: bool,
}

Fields§

§verts: Option<&'t [[u16; 3]]>§polys: Option<&'t [u16]>§poly_flags: Option<&'t [u16]>§poly_areas: Option<&'t [u8]>§nvp: usize§detail_meshes: Option<&'t [[u32; 4]]>§detail_verts: Option<&'t [[f32; 3]]>§detail_tris: Option<&'t [[u8; 4]]>§off_mesh_con_verts: Option<&'t [DtAABB]>§off_mesh_con_rad: Option<&'t [f32]>§off_mesh_con_flags: Option<&'t [u16]>§off_mesh_con_areas: Option<&'t [u8]>§off_mesh_con_dir: Option<&'t [u8]>§off_mesh_con_user_id: Option<&'t [u32]>§user_id: u32§tile_x: i32§tile_y: i32§tile_layer: i32§bmin: [f32; 3]§bmax: [f32; 3]§walkable_height: f32§walkable_radius: f32§walkable_climb: f32§cs: f32§ch: f32§build_bv_tree: bool

Trait Implementations§

Source§

impl Debug for DtNavMeshCreateParams<'_>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'t> Default for DtNavMeshCreateParams<'t>

Source§

fn default() -> DtNavMeshCreateParams<'t>

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> ArchivePointee for T

Source§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
Source§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<F, W, T, D> Deserialize<With<T, W>, D> for F
where W: DeserializeWith<F, T, D>, D: Fallible + ?Sized, F: ?Sized,

Source§

fn deserialize( &self, deserializer: &mut D, ) -> Result<With<T, W>, <D as Fallible>::Error>

Deserializes using the given deserializer
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Pointee for T

Source§

type Metadata = ()

The type for metadata in pointers and references to Self.
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.