pub trait ITerrainMeshMethods: ITerrainMesh {
// Provided methods
fn ctor(self) { ... }
fn add_mesh(
self,
x: impl Into<i32>,
z: impl Into<i32>,
color: impl Into<Color>,
pos: impl Into<Vector2>,
size: impl Into<Vector2>,
) { ... }
fn get_position(self, index: impl Into<i32>) -> Vector2 { ... }
fn update(
self,
terrain: impl Into<MapTerrain>,
show_layer: impl Into<bool>,
show_overlap: impl Into<bool>,
) { ... }
fn update_2(self) { ... }
}Provided Methods§
Sourcefn add_mesh(
self,
x: impl Into<i32>,
z: impl Into<i32>,
color: impl Into<Color>,
pos: impl Into<Vector2>,
size: impl Into<Vector2>,
)
fn add_mesh( self, x: impl Into<i32>, z: impl Into<i32>, color: impl Into<Color>, pos: impl Into<Vector2>, size: impl Into<Vector2>, )
AddMesh(i32, i32, crate::unity_engine::color::Color, crate::unity_engine::vector2::Vector2, crate::unity_engine::vector2::Vector2) overload
Sourcefn get_position(self, index: impl Into<i32>) -> Vector2
fn get_position(self, index: impl Into<i32>) -> Vector2
GetPosition(i32) overload
Sourcefn update(
self,
terrain: impl Into<MapTerrain>,
show_layer: impl Into<bool>,
show_overlap: impl Into<bool>,
)
fn update( self, terrain: impl Into<MapTerrain>, show_layer: impl Into<bool>, show_overlap: impl Into<bool>, )
Update(crate::app::mapterrain::MapTerrain, bool, bool) 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: ITerrainMesh> ITerrainMeshMethods for __T
Available on crate feature
app-terrainmesh only.