pub trait IMapHeightMethods: IMapHeight {
Show 19 methods
// Provided methods
fn ctor(self) { ... }
fn clear(self) { ... }
fn get_cell_map(
self,
layer: impl Into<MapHeight_Layers>,
) -> MapHeight_CellMap { ... }
fn get_over(self) -> MapHeight_CellMap { ... }
fn get_under(self) -> MapHeight_CellMap { ... }
fn update(self, x: impl Into<i32>, z: impl Into<i32>) { ... }
fn on_update(self) { ... }
fn get(
self,
pos: impl Into<Vector3>,
layer: impl Into<MapHeight_Layers>,
) -> f32 { ... }
fn get_normal(
self,
pos: impl Into<Vector3>,
layer: impl Into<MapHeight_Layers>,
) -> Vector3 { ... }
fn get_max_height(self, x: impl Into<i32>, z: impl Into<i32>) -> f32 { ... }
fn get_min_height(self, x: impl Into<i32>, z: impl Into<i32>) -> f32 { ... }
fn get_2(
self,
x: impl Into<f32>,
z: impl Into<f32>,
layer: impl Into<MapHeight_Layers>,
) -> f32 { ... }
fn get_3(
self,
x: impl Into<i32>,
z: impl Into<i32>,
index: impl Into<i32>,
layer: impl Into<MapHeight_Layers>,
) -> f32 { ... }
fn get_normal_2(
self,
x: impl Into<f32>,
z: impl Into<f32>,
layer: impl Into<MapHeight_Layers>,
) -> Vector3 { ... }
fn get_edge(
self,
x: impl Into<i32>,
z: impl Into<i32>,
dir: impl Into<Dir_Type>,
) -> f32 { ... }
fn get_min_edge(
self,
x: impl Into<i32>,
z: impl Into<i32>,
dir: impl Into<Dir_Type>,
) -> f32 { ... }
fn get_max_edge(
self,
x: impl Into<i32>,
z: impl Into<i32>,
dir: impl Into<Dir_Type>,
) -> f32 { ... }
fn is_slope(
self,
x: impl Into<i32>,
z: impl Into<i32>,
slope: impl Into<f32>,
) -> bool { ... }
fn get_tilt_angle(self, x: impl Into<i32>, z: impl Into<i32>) -> f32 { ... }
}Provided Methods§
Sourcefn get_cell_map(self, layer: impl Into<MapHeight_Layers>) -> MapHeight_CellMap
fn get_cell_map(self, layer: impl Into<MapHeight_Layers>) -> MapHeight_CellMap
GetCellMap(crate::app::mapheight::MapHeight_Layers) overload
Sourcefn get_over(self) -> MapHeight_CellMap
fn get_over(self) -> MapHeight_CellMap
GetOver() overload
Sourcefn get_under(self) -> MapHeight_CellMap
fn get_under(self) -> MapHeight_CellMap
GetUnder() overload
Sourcefn get(self, pos: impl Into<Vector3>, layer: impl Into<MapHeight_Layers>) -> f32
fn get(self, pos: impl Into<Vector3>, layer: impl Into<MapHeight_Layers>) -> f32
Get(crate::unity_engine::vector3::Vector3, crate::app::mapheight::MapHeight_Layers) overload
Sourcefn get_normal(
self,
pos: impl Into<Vector3>,
layer: impl Into<MapHeight_Layers>,
) -> Vector3
fn get_normal( self, pos: impl Into<Vector3>, layer: impl Into<MapHeight_Layers>, ) -> Vector3
GetNormal(crate::unity_engine::vector3::Vector3, crate::app::mapheight::MapHeight_Layers) overload
Sourcefn get_max_height(self, x: impl Into<i32>, z: impl Into<i32>) -> f32
fn get_max_height(self, x: impl Into<i32>, z: impl Into<i32>) -> f32
GetMaxHeight(i32, i32) overload
Sourcefn get_min_height(self, x: impl Into<i32>, z: impl Into<i32>) -> f32
fn get_min_height(self, x: impl Into<i32>, z: impl Into<i32>) -> f32
GetMinHeight(i32, i32) overload
Sourcefn get_2(
self,
x: impl Into<f32>,
z: impl Into<f32>,
layer: impl Into<MapHeight_Layers>,
) -> f32
fn get_2( self, x: impl Into<f32>, z: impl Into<f32>, layer: impl Into<MapHeight_Layers>, ) -> f32
Get(f32, f32, crate::app::mapheight::MapHeight_Layers) overload
Sourcefn get_3(
self,
x: impl Into<i32>,
z: impl Into<i32>,
index: impl Into<i32>,
layer: impl Into<MapHeight_Layers>,
) -> f32
fn get_3( self, x: impl Into<i32>, z: impl Into<i32>, index: impl Into<i32>, layer: impl Into<MapHeight_Layers>, ) -> f32
Get(i32, i32, i32, crate::app::mapheight::MapHeight_Layers) overload
Sourcefn get_normal_2(
self,
x: impl Into<f32>,
z: impl Into<f32>,
layer: impl Into<MapHeight_Layers>,
) -> Vector3
fn get_normal_2( self, x: impl Into<f32>, z: impl Into<f32>, layer: impl Into<MapHeight_Layers>, ) -> Vector3
GetNormal(f32, f32, crate::app::mapheight::MapHeight_Layers) overload
Sourcefn get_edge(
self,
x: impl Into<i32>,
z: impl Into<i32>,
dir: impl Into<Dir_Type>,
) -> f32
fn get_edge( self, x: impl Into<i32>, z: impl Into<i32>, dir: impl Into<Dir_Type>, ) -> f32
GetEdge(i32, i32, crate::app::dir_2::Dir_Type) overload
Sourcefn get_min_edge(
self,
x: impl Into<i32>,
z: impl Into<i32>,
dir: impl Into<Dir_Type>,
) -> f32
fn get_min_edge( self, x: impl Into<i32>, z: impl Into<i32>, dir: impl Into<Dir_Type>, ) -> f32
GetMinEdge(i32, i32, crate::app::dir_2::Dir_Type) overload
Sourcefn get_max_edge(
self,
x: impl Into<i32>,
z: impl Into<i32>,
dir: impl Into<Dir_Type>,
) -> f32
fn get_max_edge( self, x: impl Into<i32>, z: impl Into<i32>, dir: impl Into<Dir_Type>, ) -> f32
GetMaxEdge(i32, i32, crate::app::dir_2::Dir_Type) overload
Sourcefn is_slope(
self,
x: impl Into<i32>,
z: impl Into<i32>,
slope: impl Into<f32>,
) -> bool
fn is_slope( self, x: impl Into<i32>, z: impl Into<i32>, slope: impl Into<f32>, ) -> bool
IsSlope(i32, i32, f32) overload
Sourcefn get_tilt_angle(self, x: impl Into<i32>, z: impl Into<i32>) -> f32
fn get_tilt_angle(self, x: impl Into<i32>, z: impl Into<i32>) -> f32
GetTiltAngle(i32, i32) overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: IMapHeight> IMapHeightMethods for __T
app-mapheight only.