Skip to main content

ITerrainLayerMapMethods

Trait ITerrainLayerMapMethods 

Source
pub trait ITerrainLayerMapMethods: ITerrainLayerMap {
Show 19 methods // Provided methods fn ctor(self) { ... } fn ctor_2(self, terrain: impl Into<Terrain>) { ... } fn ctor_3(self, data: impl Into<TerrainData>) { ... } fn ctor_4( self, width: impl Into<i32>, height: impl Into<i32>, layers: impl Into<i32>, ) { ... } fn read_data(self, data: impl Into<TerrainData>) { ... } fn write_data(self, data: impl Into<TerrainData>) { ... } fn get_current_layer(self, x: impl Into<i32>, y: impl Into<i32>) -> i32 { ... } fn get_max_alpha(self, x: impl Into<i32>, y: impl Into<i32>) -> f32 { ... } fn normalize(self) { ... } fn normalize_2(self, layer: impl Into<i32>) { ... } fn fill_layer(self, layer: impl Into<i32>) { ... } fn slop_layer(self, data: impl Into<TerrainData>, layer: impl Into<i32>) { ... } fn clear_layer(self, layer: impl Into<i32>) { ... } fn update_soft(self) { ... } fn update_soft_2(self, layer: impl Into<i32>) { ... } fn get_count(self) -> i32 { ... } fn set_count(self, value: impl Into<i32>) { ... } fn get_item( self, x: impl Into<i32>, y: impl Into<i32>, layer: impl Into<i32>, ) -> f32 { ... } fn set_item( self, x: impl Into<i32>, y: impl Into<i32>, layer: impl Into<i32>, value: impl Into<f32>, ) { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn ctor_2(self, terrain: impl Into<Terrain>)

.ctor(crate::unity_engine::terrain::Terrain) overload

Source

fn ctor_3(self, data: impl Into<TerrainData>)

.ctor(crate::unity_engine::terraindata::TerrainData) overload

Source

fn ctor_4( self, width: impl Into<i32>, height: impl Into<i32>, layers: impl Into<i32>, )

.ctor(i32, i32, i32) overload

Source

fn read_data(self, data: impl Into<TerrainData>)

ReadData(crate::unity_engine::terraindata::TerrainData) overload

Source

fn write_data(self, data: impl Into<TerrainData>)

WriteData(crate::unity_engine::terraindata::TerrainData) overload

Source

fn get_current_layer(self, x: impl Into<i32>, y: impl Into<i32>) -> i32

GetCurrentLayer(i32, i32) overload

Source

fn get_max_alpha(self, x: impl Into<i32>, y: impl Into<i32>) -> f32

GetMaxAlpha(i32, i32) overload

Source

fn normalize(self)

Normalize() overload

Source

fn normalize_2(self, layer: impl Into<i32>)

Normalize(i32) overload

Source

fn fill_layer(self, layer: impl Into<i32>)

FillLayer(i32) overload

Source

fn slop_layer(self, data: impl Into<TerrainData>, layer: impl Into<i32>)

SlopLayer(crate::unity_engine::terraindata::TerrainData, i32) overload

Source

fn clear_layer(self, layer: impl Into<i32>)

ClearLayer(i32) overload

Source

fn update_soft(self)

UpdateSoft() overload

Source

fn update_soft_2(self, layer: impl Into<i32>)

UpdateSoft(i32) overload

Source

fn get_count(self) -> i32

get_Count() overload

Source

fn set_count(self, value: impl Into<i32>)

set_Count(i32) overload

Source

fn get_item( self, x: impl Into<i32>, y: impl Into<i32>, layer: impl Into<i32>, ) -> f32

get_Item(i32, i32, i32) overload

Source

fn set_item( self, x: impl Into<i32>, y: impl Into<i32>, layer: impl Into<i32>, value: impl Into<f32>, )

set_Item(i32, i32, i32, f32) 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: ITerrainLayerMap> ITerrainLayerMapMethods for __T

Available on crate feature app-terrainlayermap only.