Skip to main content

ITerrainCallbacks_HeightmapChangedCallbackMethods

Trait ITerrainCallbacks_HeightmapChangedCallbackMethods 

Source
pub trait ITerrainCallbacks_HeightmapChangedCallbackMethods: ITerrainCallbacks_HeightmapChangedCallback {
    // Provided methods
    fn ctor(self, object: impl Into<Object>, method: impl Into<IntPtr>) { ... }
    fn invoke(
        self,
        terrain: impl Into<Terrain>,
        height_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>, height_region: impl Into<RectInt>, synched: impl Into<bool>, )

Invoke(crate::unity_engine::terrain::Terrain, 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_HeightmapChangedCallback> ITerrainCallbacks_HeightmapChangedCallbackMethods for __T

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