Skip to main content

ITerrainDataMethods

Trait ITerrainDataMethods 

Source
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§

Source

fn ctor(self)

.ctor() overload

Source

fn get_heightmap_resolution(self) -> i32

get_heightmapResolution() overload

Source

fn get_internal_heightmap_resolution(self) -> i32

get_internalHeightmapResolution() overload

Source

fn get_heightmap_scale(self) -> Vector3

get_heightmapScale() overload

Source

fn get_size(self) -> Vector3

get_size() overload

Source

fn get_interpolated_normal( self, x: impl Into<f32>, y: impl Into<f32>, ) -> Vector3

GetInterpolatedNormal(f32, f32) overload

Source

fn get_alphamap_layers(self) -> i32

get_alphamapLayers() overload

Source

fn get_alphamap_resolution(self) -> i32

get_alphamapResolution() overload

Source

fn get_alphamap_resolution_internal(self) -> f32

GetAlphamapResolutionInternal() overload

Source

fn get_internal_alphamap_resolution(self) -> i32

get_Internal_alphamapResolution() overload

Source

fn get_alphamap_width(self) -> i32

get_alphamapWidth() overload

Source

fn get_alphamap_height(self) -> i32

get_alphamapHeight() overload

Source

fn get_users(self) -> Array<Terrain>

get_users() overload

Source

fn get_heightmap_scale_injected(self) -> Vector3

get_heightmapScale_Injected(*mutcrate::unity_engine::vector3::Vector3) overload

Source

fn get_size_injected(self) -> Vector3

get_size_Injected(*mutcrate::unity_engine::vector3::Vector3) overload

Source

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§

Source§

impl<__T: ITerrainData> ITerrainDataMethods for __T

Available on crate feature unity_engine-terraindata only.