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§
Sourcefn ctor_2(self, terrain: impl Into<Terrain>)
fn ctor_2(self, terrain: impl Into<Terrain>)
.ctor(crate::unity_engine::terrain::Terrain) overload
Sourcefn ctor_3(self, data: impl Into<TerrainData>)
fn ctor_3(self, data: impl Into<TerrainData>)
.ctor(crate::unity_engine::terraindata::TerrainData) overload
Sourcefn ctor_4(
self,
width: impl Into<i32>,
height: impl Into<i32>,
layers: impl Into<i32>,
)
fn ctor_4( self, width: impl Into<i32>, height: impl Into<i32>, layers: impl Into<i32>, )
.ctor(i32, i32, i32) overload
Sourcefn read_data(self, data: impl Into<TerrainData>)
fn read_data(self, data: impl Into<TerrainData>)
ReadData(crate::unity_engine::terraindata::TerrainData) overload
Sourcefn write_data(self, data: impl Into<TerrainData>)
fn write_data(self, data: impl Into<TerrainData>)
WriteData(crate::unity_engine::terraindata::TerrainData) overload
Sourcefn get_current_layer(self, x: impl Into<i32>, y: impl Into<i32>) -> i32
fn get_current_layer(self, x: impl Into<i32>, y: impl Into<i32>) -> i32
GetCurrentLayer(i32, i32) overload
Sourcefn get_max_alpha(self, x: impl Into<i32>, y: impl Into<i32>) -> f32
fn get_max_alpha(self, x: impl Into<i32>, y: impl Into<i32>) -> f32
GetMaxAlpha(i32, i32) overload
Sourcefn normalize_2(self, layer: impl Into<i32>)
fn normalize_2(self, layer: impl Into<i32>)
Normalize(i32) overload
Sourcefn fill_layer(self, layer: impl Into<i32>)
fn fill_layer(self, layer: impl Into<i32>)
FillLayer(i32) overload
Sourcefn slop_layer(self, data: impl Into<TerrainData>, layer: impl Into<i32>)
fn slop_layer(self, data: impl Into<TerrainData>, layer: impl Into<i32>)
SlopLayer(crate::unity_engine::terraindata::TerrainData, i32) overload
Sourcefn clear_layer(self, layer: impl Into<i32>)
fn clear_layer(self, layer: impl Into<i32>)
ClearLayer(i32) overload
Sourcefn update_soft(self)
fn update_soft(self)
UpdateSoft() overload
Sourcefn update_soft_2(self, layer: impl Into<i32>)
fn update_soft_2(self, layer: impl Into<i32>)
UpdateSoft(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: ITerrainLayerMap> ITerrainLayerMapMethods for __T
Available on crate feature
app-terrainlayermap only.