pub trait ITerrainDataMethods: ITerrainData {
Show 16 methods
// Provided methods
fn ctor(self) { ... }
fn get_heightmap_resolution(self) -> i32 { ... }
fn get_internal_heightmap_resolution(self) -> i32 { ... }
fn get_heightmap_scale(self) -> Vector3 { ... }
fn get_size(self) -> Vector3 { ... }
fn get_interpolated_normal(
self,
x: impl Into<f32>,
y: impl Into<f32>,
) -> Vector3 { ... }
fn get_alphamap_layers(self) -> i32 { ... }
fn get_alphamap_resolution(self) -> i32 { ... }
fn get_alphamap_resolution_internal(self) -> f32 { ... }
fn get_internal_alphamap_resolution(self) -> i32 { ... }
fn get_alphamap_width(self) -> i32 { ... }
fn get_alphamap_height(self) -> i32 { ... }
fn get_users(self) -> Array<Terrain> { ... }
fn get_heightmap_scale_injected(self) -> Vector3 { ... }
fn get_size_injected(self) -> Vector3 { ... }
fn get_interpolated_normal_injected(
self,
x: impl Into<f32>,
y: impl Into<f32>,
) -> Vector3 { ... }
}Provided Methods§
Sourcefn get_heightmap_resolution(self) -> i32
fn get_heightmap_resolution(self) -> i32
get_heightmapResolution() overload
Sourcefn get_internal_heightmap_resolution(self) -> i32
fn get_internal_heightmap_resolution(self) -> i32
get_internalHeightmapResolution() overload
Sourcefn get_heightmap_scale(self) -> Vector3
fn get_heightmap_scale(self) -> Vector3
get_heightmapScale() overload
Sourcefn get_interpolated_normal(
self,
x: impl Into<f32>,
y: impl Into<f32>,
) -> Vector3
fn get_interpolated_normal( self, x: impl Into<f32>, y: impl Into<f32>, ) -> Vector3
GetInterpolatedNormal(f32, f32) overload
Sourcefn get_alphamap_layers(self) -> i32
fn get_alphamap_layers(self) -> i32
get_alphamapLayers() overload
Sourcefn get_alphamap_resolution(self) -> i32
fn get_alphamap_resolution(self) -> i32
get_alphamapResolution() overload
Sourcefn get_alphamap_resolution_internal(self) -> f32
fn get_alphamap_resolution_internal(self) -> f32
GetAlphamapResolutionInternal() overload
Sourcefn get_internal_alphamap_resolution(self) -> i32
fn get_internal_alphamap_resolution(self) -> i32
get_Internal_alphamapResolution() overload
Sourcefn get_alphamap_width(self) -> i32
fn get_alphamap_width(self) -> i32
get_alphamapWidth() overload
Sourcefn get_alphamap_height(self) -> i32
fn get_alphamap_height(self) -> i32
get_alphamapHeight() overload
Sourcefn get_heightmap_scale_injected(self) -> Vector3
fn get_heightmap_scale_injected(self) -> Vector3
get_heightmapScale_Injected(*mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn get_size_injected(self) -> Vector3
fn get_size_injected(self) -> Vector3
get_size_Injected(*mutcrate::unity_engine::vector3::Vector3) overload
Sourcefn get_interpolated_normal_injected(
self,
x: impl Into<f32>,
y: impl Into<f32>,
) -> Vector3
fn get_interpolated_normal_injected( self, x: impl Into<f32>, y: impl Into<f32>, ) -> Vector3
GetInterpolatedNormal_Injected(f32, f32, *mutcrate::unity_engine::vector3::Vector3) 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: ITerrainData> ITerrainDataMethods for __T
Available on crate feature
unity_engine-terraindata only.