pub trait IVolumeProfileMethods: IVolumeProfile {
Show 16 methods
// Provided methods
fn on_enable(self) { ... }
fn reset(self) { ... }
fn add<M0: IlType + Copy + ClassIdentity>(
self,
overrides: impl Into<bool>,
) -> M0 { ... }
fn add_2(
self,
type: impl Into<SystemType>,
overrides: impl Into<bool>,
) -> VolumeComponent { ... }
fn remove<M0: IlType + Copy + ClassIdentity>(self) { ... }
fn remove_2(self, type: impl Into<SystemType>) { ... }
fn has<M0: IlType + Copy + ClassIdentity>(self) -> bool { ... }
fn has_2(self, type: impl Into<SystemType>) -> bool { ... }
fn has_subclass_of(self, type: impl Into<SystemType>) -> bool { ... }
fn try_get<M0: IlType + Copy + ClassIdentity>(
self,
component: impl Into<*mut M0>,
) -> bool { ... }
fn try_get_2<M0: IlType + Copy + ClassIdentity>(
self,
type: impl Into<SystemType>,
component: impl Into<*mut M0>,
) -> bool { ... }
fn try_get_subclass_of<M0: IlType + Copy + ClassIdentity>(
self,
type: impl Into<SystemType>,
component: impl Into<*mut M0>,
) -> bool { ... }
fn try_get_all_subclass_of<M0: IlType + Copy + ClassIdentity>(
self,
type: impl Into<SystemType>,
result: impl Into<List_1<M0>>,
) -> bool { ... }
fn get_hash_code(self) -> i32 { ... }
fn get_component_list_hash_code(self) -> i32 { ... }
fn ctor(self) { ... }
}Provided Methods§
fn add<M0: IlType + Copy + ClassIdentity>( self, overrides: impl Into<bool>, ) -> M0
Sourcefn add_2(
self,
type: impl Into<SystemType>,
overrides: impl Into<bool>,
) -> VolumeComponent
fn add_2( self, type: impl Into<SystemType>, overrides: impl Into<bool>, ) -> VolumeComponent
Add(::unity::SystemType, bool) overload
fn remove<M0: IlType + Copy + ClassIdentity>(self)
fn has<M0: IlType + Copy + ClassIdentity>(self) -> bool
Sourcefn has_subclass_of(self, type: impl Into<SystemType>) -> bool
fn has_subclass_of(self, type: impl Into<SystemType>) -> bool
HasSubclassOf(::unity::SystemType) overload
fn try_get<M0: IlType + Copy + ClassIdentity>( self, component: impl Into<*mut M0>, ) -> bool
fn try_get_2<M0: IlType + Copy + ClassIdentity>( self, type: impl Into<SystemType>, component: impl Into<*mut M0>, ) -> bool
fn try_get_subclass_of<M0: IlType + Copy + ClassIdentity>( self, type: impl Into<SystemType>, component: impl Into<*mut M0>, ) -> bool
fn try_get_all_subclass_of<M0: IlType + Copy + ClassIdentity>( self, type: impl Into<SystemType>, result: impl Into<List_1<M0>>, ) -> bool
Sourcefn get_hash_code(self) -> i32
fn get_hash_code(self) -> i32
GetHashCode() overload
Sourcefn get_component_list_hash_code(self) -> i32
fn get_component_list_hash_code(self) -> i32
GetComponentListHashCode() 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: IVolumeProfile> IVolumeProfileMethods for __T
Available on crate feature
unity_engine-rendering-volumeprofile only.