Skip to main content

IMapHeight_CellMapMethods

Trait IMapHeight_CellMapMethods 

Source
pub trait IMapHeight_CellMapMethods: IMapHeight_CellMap {
    // Provided methods
    fn ctor(self, layer_mask_a: impl Into<i32>, layer_mask_b: impl Into<i32>) { ... }
    fn get_x(self, x: impl Into<i32>, index: impl Into<i32>) -> f32 { ... }
    fn get_z(self, z: impl Into<i32>, index: impl Into<i32>) -> f32 { ... }
    fn get_height(
        self,
        x: impl Into<i32>,
        z: impl Into<i32>,
        index: impl Into<i32>,
    ) -> f32 { ... }
    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(self, x: impl Into<i32>, z: impl Into<i32>) -> MapHeight_CellInfo { ... }
    fn update(self, x: impl Into<i32>, z: impl Into<i32>) { ... }
    fn is_layer_mask(
        self,
        x: impl Into<i32>,
        z: impl Into<i32>,
        layer_mask: impl Into<i32>,
    ) -> bool { ... }
    fn clear(self) { ... }
}

Provided Methods§

Source

fn ctor(self, layer_mask_a: impl Into<i32>, layer_mask_b: impl Into<i32>)

.ctor(i32, i32) overload

Source

fn get_x(self, x: impl Into<i32>, index: impl Into<i32>) -> f32

GetX(i32, i32) overload

Source

fn get_z(self, z: impl Into<i32>, index: impl Into<i32>) -> f32

GetZ(i32, i32) overload

Source

fn get_height( self, x: impl Into<i32>, z: impl Into<i32>, index: impl Into<i32>, ) -> f32

GetHeight(i32, i32, i32) overload

Source

fn get_max_height(self, x: impl Into<i32>, z: impl Into<i32>) -> f32

GetMaxHeight(i32, i32) overload

Source

fn get_min_height(self, x: impl Into<i32>, z: impl Into<i32>) -> f32

GetMinHeight(i32, i32) overload

Source

fn get(self, x: impl Into<i32>, z: impl Into<i32>) -> MapHeight_CellInfo

Get(i32, i32) overload

Source

fn update(self, x: impl Into<i32>, z: impl Into<i32>)

Update(i32, i32) overload

Source

fn is_layer_mask( self, x: impl Into<i32>, z: impl Into<i32>, layer_mask: impl Into<i32>, ) -> bool

IsLayerMask(i32, i32, i32) overload

Source

fn clear(self)

Clear() 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§

Source§

impl<__T: IMapHeight_CellMap> IMapHeight_CellMapMethods for __T

Available on crate feature app-mapheight only.