Skip to main content

ISceneProvider_SceneOpMethods

Trait ISceneProvider_SceneOpMethods 

Source
pub trait ISceneProvider_SceneOpMethods: ISceneProvider_SceneOp {
    // Provided methods
    fn ctor(self, rm: impl Into<ResourceManager>) { ... }
    fn get_download_status(
        self,
        visited: impl Into<HashSet_1<Object>>,
    ) -> DownloadStatus { ... }
    fn init(
        self,
        location: impl Into<IResourceLocation>,
        load_mode: impl Into<LoadSceneMode>,
        activate_on_load: impl Into<bool>,
        priority: impl Into<i32>,
        dep_op: impl Into<AsyncOperationHandle_1<IList_1_Interface<AsyncOperationHandle>>>,
    ) { ... }
    fn invoke_wait_for_completion(self) -> bool { ... }
    fn get_dependencies(self, deps: impl Into<List_1<AsyncOperationHandle>>) { ... }
    fn get_debug_name(self) -> Il2CppString { ... }
    fn execute(self) { ... }
    fn internal_load_scene(
        self,
        location: impl Into<IResourceLocation>,
        loading_from_bundle: impl Into<bool>,
        load_mode: impl Into<LoadSceneMode>,
        activate_on_load: impl Into<bool>,
        priority: impl Into<i32>,
    ) -> SceneInstance { ... }
    fn internal_load(
        self,
        path: impl Into<Il2CppString>,
        loading_from_bundle: impl Into<bool>,
        mode: impl Into<LoadSceneMode>,
    ) -> AsyncOperation { ... }
    fn destroy(self) { ... }
    fn get_progress(self) -> f32 { ... }
    fn unity_engine_resource_management_i_update_receiver_update(
        self,
        unscaled_delta_time: impl Into<f32>,
    ) { ... }
}

Provided Methods§

Source

fn ctor(self, rm: impl Into<ResourceManager>)

.ctor(crate::unity_engine::resource_management::resourcemanager::ResourceManager) overload

Source

fn get_download_status( self, visited: impl Into<HashSet_1<Object>>, ) -> DownloadStatus

GetDownloadStatus(crate::system::collections::generic::hashset_1::HashSet_1<crate::system::object::Object>) overload

Source

fn init( self, location: impl Into<IResourceLocation>, load_mode: impl Into<LoadSceneMode>, activate_on_load: impl Into<bool>, priority: impl Into<i32>, dep_op: impl Into<AsyncOperationHandle_1<IList_1_Interface<AsyncOperationHandle>>>, )

Init(crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation, crate::unity_engine::scene_management::loadscenemode::LoadSceneMode, bool, i32, crate::unity_engine::resource_management::async_operations::asyncoperationhandle_1::AsyncOperationHandle_1<crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle>>) overload

Source

fn invoke_wait_for_completion(self) -> bool

InvokeWaitForCompletion() overload

Source

fn get_dependencies(self, deps: impl Into<List_1<AsyncOperationHandle>>)

GetDependencies(crate::system::collections::generic::list_1::List_1<crate::unity_engine::resource_management::async_operations::asyncoperationhandle::AsyncOperationHandle>) overload

Source

fn get_debug_name(self) -> Il2CppString

get_DebugName() overload

Source

fn execute(self)

Execute() overload

Source

fn internal_load_scene( self, location: impl Into<IResourceLocation>, loading_from_bundle: impl Into<bool>, load_mode: impl Into<LoadSceneMode>, activate_on_load: impl Into<bool>, priority: impl Into<i32>, ) -> SceneInstance

InternalLoadScene(crate::unity_engine::resource_management::resource_locations::iresourcelocation::IResourceLocation, bool, crate::unity_engine::scene_management::loadscenemode::LoadSceneMode, bool, i32) overload

Source

fn internal_load( self, path: impl Into<Il2CppString>, loading_from_bundle: impl Into<bool>, mode: impl Into<LoadSceneMode>, ) -> AsyncOperation

InternalLoad(::unity::Il2CppString, bool, crate::unity_engine::scene_management::loadscenemode::LoadSceneMode) overload

Source

fn destroy(self)

Destroy() overload

Source

fn get_progress(self) -> f32

get_Progress() overload

Source

fn unity_engine_resource_management_i_update_receiver_update( self, unscaled_delta_time: impl Into<f32>, )

UnityEngine.ResourceManagement.IUpdateReceiver.Update(f32) 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: ISceneProvider_SceneOp> ISceneProvider_SceneOpMethods for __T

Available on crate feature unity_engine-resource_management-resource_providers-sceneprovider only.