#[repr(C)]pub struct SceneInstance {
pub m_scene: Scene,
pub m_operation: AsyncOperation,
}Expand description
Fields§
§m_scene: Scene§m_operation: AsyncOperationImplementations§
Source§impl SceneInstance
impl SceneInstance
Sourcepub fn set_scene(&mut self, value: impl Into<Scene>)
pub fn set_scene(&mut self, value: impl Into<Scene>)
set_Scene(crate::unity_engine::scene_management::scene::Scene) overload
Sourcepub fn activate_async(&mut self) -> AsyncOperation
pub fn activate_async(&mut self) -> AsyncOperation
ActivateAsync() overload
Sourcepub fn get_hash_code(&mut self) -> i32
pub fn get_hash_code(&mut self) -> i32
GetHashCode() overload
Source§impl SceneInstance
impl SceneInstance
pub fn get_scene_method_info() -> &'static MethodInfo
pub fn set_scene_method_info() -> &'static MethodInfo
pub fn activate_method_info() -> &'static MethodInfo
pub fn activate_async_method_info() -> &'static MethodInfo
pub fn get_hash_code_method_info() -> &'static MethodInfo
pub fn equals_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for SceneInstance
impl ClassIdentity for SceneInstance
Source§impl Clone for SceneInstance
impl Clone for SceneInstance
Source§fn clone(&self) -> SceneInstance
fn clone(&self) -> SceneInstance
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl IAsyncOperationBase_1<SceneInstance> for SceneProvider_SceneOp
impl IAsyncOperationBase_1<SceneInstance> for SceneProvider_SceneOp
fn m_reference_count(self) -> i32
fn set_m_reference_count(self, value: i32)
fn m_status(self) -> AsyncOperationStatus
fn set_m_status(self, value: AsyncOperationStatus)
fn m_rm(self) -> ResourceManager
fn set_m_rm(self, value: ResourceManager)
fn m_version(self) -> i32
fn set_m_version(self, value: i32)
fn m_destroyed_action(self) -> DelegateList_1<AsyncOperationHandle>
fn set_m_destroyed_action(self, value: DelegateList_1<AsyncOperationHandle>)
fn m_completed_action_t(self) -> DelegateList_1<AsyncOperationHandle_1<T0>>
fn set_m_completed_action_t( self, value: DelegateList_1<AsyncOperationHandle_1<T0>>, )
fn m_on_destroy_action(self) -> Action_1<IAsyncOperation>
fn set_m_on_destroy_action(self, value: Action_1<IAsyncOperation>)
fn m_dependency_complete_action(self) -> Action_1<AsyncOperationHandle>
fn set_m_dependency_complete_action(self, value: Action_1<AsyncOperationHandle>)
fn has_executed(self) -> bool
fn set_has_executed(self, value: bool)
fn m_in_deferred_callback_queue(self) -> bool
fn set_m_in_deferred_callback_queue(self, value: bool)
fn m_update_callbacks(self) -> DelegateList_1<f32>
fn set_m_update_callbacks(self, value: DelegateList_1<f32>)
fn m_update_callback(self) -> Action_1<f32>
fn set_m_update_callback(self, value: Action_1<f32>)
Source§impl IAsyncOperationBase_1<SceneInstance> for SceneProvider_UnloadSceneOp
impl IAsyncOperationBase_1<SceneInstance> for SceneProvider_UnloadSceneOp
fn m_reference_count(self) -> i32
fn set_m_reference_count(self, value: i32)
fn m_status(self) -> AsyncOperationStatus
fn set_m_status(self, value: AsyncOperationStatus)
fn m_rm(self) -> ResourceManager
fn set_m_rm(self, value: ResourceManager)
fn m_version(self) -> i32
fn set_m_version(self, value: i32)
fn m_destroyed_action(self) -> DelegateList_1<AsyncOperationHandle>
fn set_m_destroyed_action(self, value: DelegateList_1<AsyncOperationHandle>)
fn m_completed_action_t(self) -> DelegateList_1<AsyncOperationHandle_1<T0>>
fn set_m_completed_action_t( self, value: DelegateList_1<AsyncOperationHandle_1<T0>>, )
fn m_on_destroy_action(self) -> Action_1<IAsyncOperation>
fn set_m_on_destroy_action(self, value: Action_1<IAsyncOperation>)
fn m_dependency_complete_action(self) -> Action_1<AsyncOperationHandle>
fn set_m_dependency_complete_action(self, value: Action_1<AsyncOperationHandle>)
fn has_executed(self) -> bool
fn set_has_executed(self, value: bool)
fn m_in_deferred_callback_queue(self) -> bool
fn set_m_in_deferred_callback_queue(self, value: bool)
fn m_update_callbacks(self) -> DelegateList_1<f32>
fn set_m_update_callbacks(self, value: DelegateList_1<f32>)
fn m_update_callback(self) -> Action_1<f32>
fn set_m_update_callback(self, value: Action_1<f32>)
impl Copy for SceneInstance
Auto Trait Implementations§
impl Freeze for SceneInstance
impl RefUnwindSafe for SceneInstance
impl !Send for SceneInstance
impl !Sync for SceneInstance
impl Unpin for SceneInstance
impl UnwindSafe for SceneInstance
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)