Skip to main content

IMoviePlayerBaseMethods

Trait IMoviePlayerBaseMethods 

Source
pub trait IMoviePlayerBaseMethods: IMoviePlayerBase {
Show 38 methods // Provided methods fn ctor( self, movie_file_name: impl Into<Il2CppString>, is_movie_file_name_direct: impl Into<bool>, ) { ... } fn load( self, movie_file_name: impl Into<Il2CppString>, is_movie_file_name_direct: impl Into<bool>, ) { ... } fn unload(self) { ... } fn get_movie_file_path(self) -> Il2CppString { ... } fn load_scene_bind(self, super_: impl Into<ProcInst>) { ... } fn unload_scene_bind(self, super_: impl Into<ProcInst>) { ... } fn setup_after_load_scene(self) -> bool { ... } fn setup_by_movie_canvas_prefab( self, canvas_prefab: impl Into<GameObject>, ) -> bool { ... } fn setup_common(self) -> bool { ... } fn set_movie_file_path_to_video_player(self) -> bool { ... } fn enable_scene(self) { ... } fn disable_scene(self) { ... } fn set_scene_active(self, is_active: impl Into<bool>) { ... } fn enable_canvas(self) { ... } fn disable_canvas(self) { ... } fn show_help(self) { ... } fn hide_help(self) { ... } fn is_show_caption(self) -> bool { ... } fn set_caption(self, mid: impl Into<Il2CppString>, msec: impl Into<i32>) { ... } fn switch_caption_on_off(self) { ... } fn show_title_logo(self, msec: impl Into<i32>) { ... } fn post_sound_event_on_start_viewer(self) { ... } fn post_sound_event_on_end(self) { ... } fn get_screen_object_name(self) -> Il2CppString { ... } fn is_paused(self) -> bool { ... } fn is_playing(self) -> bool { ... } fn is_play_end(self) -> bool { ... } fn is_error_occured(self) -> bool { ... } fn get_movie_length(self) -> f32 { ... } fn get_playing_position(self) -> f32 { ... } fn persistent(self) { ... } fn tick(self) { ... } fn prepare(self) { ... } fn is_prepared(self) -> bool { ... } fn play(self) { ... } fn stop(self) { ... } fn suspend_on(self) { ... } fn suspend_off(self) { ... }
}

Provided Methods§

Source

fn ctor( self, movie_file_name: impl Into<Il2CppString>, is_movie_file_name_direct: impl Into<bool>, )

.ctor(::unity::Il2CppString, bool) overload

Source

fn load( self, movie_file_name: impl Into<Il2CppString>, is_movie_file_name_direct: impl Into<bool>, )

Load(::unity::Il2CppString, bool) overload

Source

fn unload(self)

Unload() overload

Source

fn get_movie_file_path(self) -> Il2CppString

GetMovieFilePath() overload

Source

fn load_scene_bind(self, super_: impl Into<ProcInst>)

LoadSceneBind(crate::app::procinst::ProcInst) overload

Source

fn unload_scene_bind(self, super_: impl Into<ProcInst>)

UnloadSceneBind(crate::app::procinst::ProcInst) overload

Source

fn setup_after_load_scene(self) -> bool

SetupAfterLoadScene() overload

Source

fn setup_by_movie_canvas_prefab( self, canvas_prefab: impl Into<GameObject>, ) -> bool

SetupByMovieCanvasPrefab(crate::unity_engine::gameobject::GameObject) overload

Source

fn setup_common(self) -> bool

SetupCommon() overload

Source

fn set_movie_file_path_to_video_player(self) -> bool

SetMovieFilePathToVideoPlayer() overload

Source

fn enable_scene(self)

EnableScene() overload

Source

fn disable_scene(self)

DisableScene() overload

Source

fn set_scene_active(self, is_active: impl Into<bool>)

SetSceneActive(bool) overload

Source

fn enable_canvas(self)

EnableCanvas() overload

Source

fn disable_canvas(self)

DisableCanvas() overload

Source

fn show_help(self)

ShowHelp() overload

Source

fn hide_help(self)

HideHelp() overload

Source

fn is_show_caption(self) -> bool

IsShowCaption() overload

Source

fn set_caption(self, mid: impl Into<Il2CppString>, msec: impl Into<i32>)

SetCaption(::unity::Il2CppString, i32) overload

Source

fn switch_caption_on_off(self)

SwitchCaptionOnOff() overload

ShowTitleLogo(i32) overload

Source

fn post_sound_event_on_start_viewer(self)

PostSoundEventOnStartViewer() overload

Source

fn post_sound_event_on_end(self)

PostSoundEventOnEnd() overload

Source

fn get_screen_object_name(self) -> Il2CppString

GetScreenObjectName() overload

Source

fn is_paused(self) -> bool

IsPaused() overload

Source

fn is_playing(self) -> bool

IsPlaying() overload

Source

fn is_play_end(self) -> bool

IsPlayEnd() overload

Source

fn is_error_occured(self) -> bool

IsErrorOccured() overload

Source

fn get_movie_length(self) -> f32

GetMovieLength() overload

Source

fn get_playing_position(self) -> f32

GetPlayingPosition() overload

Source

fn persistent(self)

Persistent() overload

Source

fn tick(self)

Tick() overload

Source

fn prepare(self)

Prepare() overload

Source

fn is_prepared(self) -> bool

IsPrepared() overload

Source

fn play(self)

Play() overload

Source

fn stop(self)

Stop() overload

Source

fn suspend_on(self)

SuspendOn() overload

Source

fn suspend_off(self)

SuspendOff() 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: IMoviePlayerBase> IMoviePlayerBaseMethods for __T

Available on crate feature app-movieplayerbase only.