Skip to main content

IVolumeProfileMethods

Trait IVolumeProfileMethods 

Source
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§

Source

fn on_enable(self)

OnEnable() overload

Source

fn reset(self)

Reset() overload

Source

fn add<M0: IlType + Copy + ClassIdentity>( self, overrides: impl Into<bool>, ) -> M0

Source

fn add_2( self, type: impl Into<SystemType>, overrides: impl Into<bool>, ) -> VolumeComponent

Add(::unity::SystemType, bool) overload

Source

fn remove<M0: IlType + Copy + ClassIdentity>(self)

Source

fn remove_2(self, type: impl Into<SystemType>)

Remove(::unity::SystemType) overload

Source

fn has<M0: IlType + Copy + ClassIdentity>(self) -> bool

Source

fn has_2(self, type: impl Into<SystemType>) -> bool

Has(::unity::SystemType) overload

Source

fn has_subclass_of(self, type: impl Into<SystemType>) -> bool

HasSubclassOf(::unity::SystemType) overload

Source

fn try_get<M0: IlType + Copy + ClassIdentity>( self, component: impl Into<*mut M0>, ) -> bool

Source

fn try_get_2<M0: IlType + Copy + ClassIdentity>( self, type: impl Into<SystemType>, component: impl Into<*mut M0>, ) -> bool

Source

fn try_get_subclass_of<M0: IlType + Copy + ClassIdentity>( self, type: impl Into<SystemType>, component: impl Into<*mut M0>, ) -> bool

Source

fn try_get_all_subclass_of<M0: IlType + Copy + ClassIdentity>( self, type: impl Into<SystemType>, result: impl Into<List_1<M0>>, ) -> bool

Source

fn get_hash_code(self) -> i32

GetHashCode() overload

Source

fn get_component_list_hash_code(self) -> i32

GetComponentListHashCode() 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: IVolumeProfile> IVolumeProfileMethods for __T

Available on crate feature unity_engine-rendering-volumeprofile only.