pub trait IMaterialBehaviourMethods: IMaterialBehaviour {
// Provided methods
fn get_elapsed(self) -> f32 { ... }
fn get_render(self) -> MeshRenderer { ... }
fn initialize(self) { ... }
fn update_time(self) { ... }
fn set_main_tex_offset(self, offset: impl Into<Vector2>) { ... }
fn set_bump_map_offset(self, offset: impl Into<Vector2>) { ... }
fn set_multi_map_offset(self, offset: impl Into<Vector2>) { ... }
fn set_texture_offset(self, offset: impl Into<Vector2>) { ... }
fn set_vector(
self,
name: impl Into<Il2CppString>,
value: impl Into<Vector3>,
) { ... }
fn set_float(self, name: impl Into<Il2CppString>, value: impl Into<f32>) { ... }
fn get_perlin_noise(self) -> f32 { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_elapsed(self) -> f32
fn get_elapsed(self) -> f32
get_Elapsed() overload
Sourcefn get_render(self) -> MeshRenderer
fn get_render(self) -> MeshRenderer
get_Render() overload
Sourcefn initialize(self)
fn initialize(self)
Initialize() overload
Sourcefn update_time(self)
fn update_time(self)
UpdateTime() overload
Sourcefn set_main_tex_offset(self, offset: impl Into<Vector2>)
fn set_main_tex_offset(self, offset: impl Into<Vector2>)
SetMainTexOffset(crate::unity_engine::vector2::Vector2) overload
Sourcefn set_bump_map_offset(self, offset: impl Into<Vector2>)
fn set_bump_map_offset(self, offset: impl Into<Vector2>)
SetBumpMapOffset(crate::unity_engine::vector2::Vector2) overload
Sourcefn set_multi_map_offset(self, offset: impl Into<Vector2>)
fn set_multi_map_offset(self, offset: impl Into<Vector2>)
SetMultiMapOffset(crate::unity_engine::vector2::Vector2) overload
Sourcefn set_texture_offset(self, offset: impl Into<Vector2>)
fn set_texture_offset(self, offset: impl Into<Vector2>)
SetTextureOffset(crate::unity_engine::vector2::Vector2) overload
Sourcefn set_vector(self, name: impl Into<Il2CppString>, value: impl Into<Vector3>)
fn set_vector(self, name: impl Into<Il2CppString>, value: impl Into<Vector3>)
SetVector(::unity::Il2CppString, crate::unity_engine::vector3::Vector3) overload
Sourcefn set_float(self, name: impl Into<Il2CppString>, value: impl Into<f32>)
fn set_float(self, name: impl Into<Il2CppString>, value: impl Into<f32>)
SetFloat(::unity::Il2CppString, f32) overload
Sourcefn get_perlin_noise(self) -> f32
fn get_perlin_noise(self) -> f32
GetPerlinNoise() 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: IMaterialBehaviour> IMaterialBehaviourMethods for __T
Available on crate feature
root-materialbehaviour only.