Skip to main content

IHubPlayCameraMethods

Trait IHubPlayCameraMethods 

Source
pub trait IHubPlayCameraMethods: IHubPlayCamera {
    // Provided methods
    fn get_data(self) -> HubDemoData { ... }
    fn get_camera_handle(self) -> ResourceHandle_2 { ... }
    fn set_camera_handle(self, value: impl Into<ResourceHandle_2>) { ... }
    fn get_player(self) -> HubPlayerController { ... }
    fn ctor(self, data: impl Into<HubDemoData>) { ... }
    fn init(self) { ... }
    fn is_loading(self) -> bool { ... }
    fn main(self) -> IEnumerator { ... }
    fn exit(self) { ... }
    fn open_message(self) { ... }
    fn open_tutorial(self) { ... }
    fn end(self) { ... }
}

Provided Methods§

Source

fn get_data(self) -> HubDemoData

get_Data() overload

Source

fn get_camera_handle(self) -> ResourceHandle_2

get_CameraHandle() overload

Source

fn set_camera_handle(self, value: impl Into<ResourceHandle_2>)

set_CameraHandle(crate::app::resourcehandle_2::ResourceHandle_2) overload

Source

fn get_player(self) -> HubPlayerController

get_Player() overload

Source

fn ctor(self, data: impl Into<HubDemoData>)

.ctor(crate::app::hubdemodata::HubDemoData) overload

Source

fn init(self)

Init() overload

Source

fn is_loading(self) -> bool

IsLoading() overload

Source

fn main(self) -> IEnumerator

Main() overload

Source

fn exit(self)

Exit() overload

Source

fn open_message(self)

OpenMessage() overload

Source

fn open_tutorial(self)

OpenTutorial() overload

Source

fn end(self)

End() 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: IHubPlayCamera> IHubPlayCameraMethods for __T

Available on crate feature app-hubplaycamera only.