Skip to main content

ITerrainPaintDataMethods

Trait ITerrainPaintDataMethods 

Source
pub trait ITerrainPaintDataMethods: ITerrainPaintData {
    // Provided methods
    fn set_terrain_size(self, value: impl Into<Vector2>) { ... }
    fn get_terrain_size(self) -> Vector2 { ... }
    fn set_split_count(self, value: impl Into<i32>) { ... }
    fn get_split_count(self) -> i32 { ... }
    fn set_name(self, value: impl Into<Array<Il2CppString>>) { ... }
    fn get_name(self) -> Array<Il2CppString> { ... }
    fn set_index(self, value: impl Into<Array<i32>>) { ... }
    fn get_index(self) -> Array<i32> { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn set_terrain_size(self, value: impl Into<Vector2>)

set__TerrainSize(crate::unity_engine::vector2::Vector2) overload

Source

fn get_terrain_size(self) -> Vector2

get__TerrainSize() overload

Source

fn set_split_count(self, value: impl Into<i32>)

set__SplitCount(i32) overload

Source

fn get_split_count(self) -> i32

get__SplitCount() overload

Source

fn set_name(self, value: impl Into<Array<Il2CppString>>)

set__Name(::unity::Array<::unity::Il2CppString>) overload

Source

fn get_name(self) -> Array<Il2CppString>

get__Name() overload

Source

fn set_index(self, value: impl Into<Array<i32>>)

set__Index(::unity::Array<i32>) overload

Source

fn get_index(self) -> Array<i32>

get__Index() overload

Source

fn ctor(self)

.ctor() 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: ITerrainPaintData> ITerrainPaintDataMethods for __T

Available on crate feature app-terrainpaintdata only.