pub trait ITerrainMethods: ITerrain {
// Provided methods
fn get_terrain_data(self) -> TerrainData { ... }
fn get_lightmap_index(self) -> i32 { ... }
fn get_lightmap_scale_offset(self) -> Vector4 { ... }
fn get_allow_auto_connect(self) -> bool { ... }
fn get_grouping_id(self) -> i32 { ... }
fn set_neighbors(
self,
left: impl Into<Terrain>,
top: impl Into<Terrain>,
right: impl Into<Terrain>,
bottom: impl Into<Terrain>,
) { ... }
fn ctor(self) { ... }
fn get_lightmap_scale_offset_injected(self) -> Vector4 { ... }
}Provided Methods§
Sourcefn get_terrain_data(self) -> TerrainData
fn get_terrain_data(self) -> TerrainData
get_terrainData() overload
Sourcefn get_lightmap_index(self) -> i32
fn get_lightmap_index(self) -> i32
get_lightmapIndex() overload
Sourcefn get_lightmap_scale_offset(self) -> Vector4
fn get_lightmap_scale_offset(self) -> Vector4
get_lightmapScaleOffset() overload
Sourcefn get_allow_auto_connect(self) -> bool
fn get_allow_auto_connect(self) -> bool
get_allowAutoConnect() overload
Sourcefn get_grouping_id(self) -> i32
fn get_grouping_id(self) -> i32
get_groupingID() overload
Sourcefn set_neighbors(
self,
left: impl Into<Terrain>,
top: impl Into<Terrain>,
right: impl Into<Terrain>,
bottom: impl Into<Terrain>,
)
fn set_neighbors( self, left: impl Into<Terrain>, top: impl Into<Terrain>, right: impl Into<Terrain>, bottom: impl Into<Terrain>, )
SetNeighbors(crate::unity_engine::terrain::Terrain, crate::unity_engine::terrain::Terrain, crate::unity_engine::terrain::Terrain, crate::unity_engine::terrain::Terrain) overload
Sourcefn get_lightmap_scale_offset_injected(self) -> Vector4
fn get_lightmap_scale_offset_injected(self) -> Vector4
get_lightmapScaleOffset_Injected(*mutcrate::unity_engine::vector4::Vector4) 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: ITerrain> ITerrainMethods for __T
Available on crate feature
unity_engine-terrain only.