Skip to main content

IVolumeComponentMethods

Trait IVolumeComponentMethods 

Source
pub trait IVolumeComponentMethods: IVolumeComponent {
Show 13 methods // Provided methods fn get_display_name(self) -> Il2CppString { ... } fn set_display_name(self, value: impl Into<Il2CppString>) { ... } fn get_parameters(self) -> ReadOnlyCollection_1<VolumeParameter> { ... } fn set_parameters( self, value: impl Into<ReadOnlyCollection_1<VolumeParameter>>, ) { ... } fn on_enable(self) { ... } fn on_disable(self) { ... } fn override( self, state: impl Into<VolumeComponent>, interp_factor: impl Into<f32>, ) { ... } fn set_all_overrides_to(self, state: impl Into<bool>) { ... } fn set_all_overrides_to_2( self, enumerable: impl Into<IEnumerable_1<VolumeParameter>>, state: impl Into<bool>, ) { ... } fn get_hash_code(self) -> i32 { ... } fn on_destroy(self) { ... } fn release(self) { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_display_name(self) -> Il2CppString

get_displayName() overload

Source

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

set_displayName(::unity::Il2CppString) overload

Source

fn get_parameters(self) -> ReadOnlyCollection_1<VolumeParameter>

get_parameters() overload

Source

fn set_parameters(self, value: impl Into<ReadOnlyCollection_1<VolumeParameter>>)

set_parameters(crate::system::collections::object_model::readonlycollection_1::ReadOnlyCollection_1<crate::unity_engine::rendering::volumeparameter::VolumeParameter>) overload

Source

fn on_enable(self)

OnEnable() overload

Source

fn on_disable(self)

OnDisable() overload

Source

fn override( self, state: impl Into<VolumeComponent>, interp_factor: impl Into<f32>, )

Override(crate::unity_engine::rendering::volumecomponent::VolumeComponent, f32) overload

Source

fn set_all_overrides_to(self, state: impl Into<bool>)

SetAllOverridesTo(bool) overload

Source

fn set_all_overrides_to_2( self, enumerable: impl Into<IEnumerable_1<VolumeParameter>>, state: impl Into<bool>, )

SetAllOverridesTo(crate::system::collections::generic::ienumerable_1::IEnumerable_1<crate::unity_engine::rendering::volumeparameter::VolumeParameter>, bool) overload

Source

fn get_hash_code(self) -> i32

GetHashCode() overload

Source

fn on_destroy(self)

OnDestroy() overload

Source

fn release(self)

Release() 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: IVolumeComponent> IVolumeComponentMethods for __T

Available on crate feature unity_engine-rendering-volumecomponent only.