Skip to main content

ITerrainCallbacks_TextureChangedCallbackMethods

Trait ITerrainCallbacks_TextureChangedCallbackMethods 

Source
pub trait ITerrainCallbacks_TextureChangedCallbackMethods: ITerrainCallbacks_TextureChangedCallback {
    // Provided methods
    fn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>) { ... }
    fn invoke(
        self,
        terrain: impl Into<Terrain>,
        texture_name: impl Into<Il2CppString>,
        texel_region: impl Into<RectInt>,
        synched: impl Into<bool>,
    ) { ... }
}

Provided Methods§

Source

fn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>)

.ctor(crate::system::object::Object, ::unity::IntPtr) overload

Source

fn invoke( self, terrain: impl Into<Terrain>, texture_name: impl Into<Il2CppString>, texel_region: impl Into<RectInt>, synched: impl Into<bool>, )

Invoke(crate::unity_engine::terrain::Terrain, ::unity::Il2CppString, crate::unity_engine::rectint::RectInt, 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§

Source§

impl<__T: ITerrainCallbacks_TextureChangedCallback> ITerrainCallbacks_TextureChangedCallbackMethods for __T

Available on crate feature unity_engine-experimental-terrain_api-terraincallbacks only.