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§
Sourcefn ctor(
self,
movie_file_name: impl Into<Il2CppString>,
is_movie_file_name_direct: impl Into<bool>,
)
fn ctor( self, movie_file_name: impl Into<Il2CppString>, is_movie_file_name_direct: impl Into<bool>, )
.ctor(::unity::Il2CppString, bool) overload
Sourcefn load(
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>, )
Load(::unity::Il2CppString, bool) overload
Sourcefn get_movie_file_path(self) -> Il2CppString
fn get_movie_file_path(self) -> Il2CppString
GetMovieFilePath() overload
Sourcefn load_scene_bind(self, super_: impl Into<ProcInst>)
fn load_scene_bind(self, super_: impl Into<ProcInst>)
LoadSceneBind(crate::app::procinst::ProcInst) overload
Sourcefn unload_scene_bind(self, super_: impl Into<ProcInst>)
fn unload_scene_bind(self, super_: impl Into<ProcInst>)
UnloadSceneBind(crate::app::procinst::ProcInst) overload
Sourcefn setup_after_load_scene(self) -> bool
fn setup_after_load_scene(self) -> bool
SetupAfterLoadScene() overload
Sourcefn setup_by_movie_canvas_prefab(
self,
canvas_prefab: impl Into<GameObject>,
) -> bool
fn setup_by_movie_canvas_prefab( self, canvas_prefab: impl Into<GameObject>, ) -> bool
SetupByMovieCanvasPrefab(crate::unity_engine::gameobject::GameObject) overload
Sourcefn setup_common(self) -> bool
fn setup_common(self) -> bool
SetupCommon() overload
Sourcefn set_movie_file_path_to_video_player(self) -> bool
fn set_movie_file_path_to_video_player(self) -> bool
SetMovieFilePathToVideoPlayer() overload
Sourcefn enable_scene(self)
fn enable_scene(self)
EnableScene() overload
Sourcefn disable_scene(self)
fn disable_scene(self)
DisableScene() overload
Sourcefn set_scene_active(self, is_active: impl Into<bool>)
fn set_scene_active(self, is_active: impl Into<bool>)
SetSceneActive(bool) overload
Sourcefn enable_canvas(self)
fn enable_canvas(self)
EnableCanvas() overload
Sourcefn disable_canvas(self)
fn disable_canvas(self)
DisableCanvas() overload
Sourcefn is_show_caption(self) -> bool
fn is_show_caption(self) -> bool
IsShowCaption() overload
Sourcefn set_caption(self, mid: impl Into<Il2CppString>, msec: impl Into<i32>)
fn set_caption(self, mid: impl Into<Il2CppString>, msec: impl Into<i32>)
SetCaption(::unity::Il2CppString, i32) overload
Sourcefn switch_caption_on_off(self)
fn switch_caption_on_off(self)
SwitchCaptionOnOff() overload
Sourcefn show_title_logo(self, msec: impl Into<i32>)
fn show_title_logo(self, msec: impl Into<i32>)
ShowTitleLogo(i32) overload
Sourcefn post_sound_event_on_start_viewer(self)
fn post_sound_event_on_start_viewer(self)
PostSoundEventOnStartViewer() overload
Sourcefn post_sound_event_on_end(self)
fn post_sound_event_on_end(self)
PostSoundEventOnEnd() overload
Sourcefn get_screen_object_name(self) -> Il2CppString
fn get_screen_object_name(self) -> Il2CppString
GetScreenObjectName() overload
Sourcefn is_playing(self) -> bool
fn is_playing(self) -> bool
IsPlaying() overload
Sourcefn is_play_end(self) -> bool
fn is_play_end(self) -> bool
IsPlayEnd() overload
Sourcefn is_error_occured(self) -> bool
fn is_error_occured(self) -> bool
IsErrorOccured() overload
Sourcefn get_movie_length(self) -> f32
fn get_movie_length(self) -> f32
GetMovieLength() overload
Sourcefn get_playing_position(self) -> f32
fn get_playing_position(self) -> f32
GetPlayingPosition() overload
Sourcefn persistent(self)
fn persistent(self)
Persistent() overload
Sourcefn is_prepared(self) -> bool
fn is_prepared(self) -> bool
IsPrepared() overload
Sourcefn suspend_on(self)
fn suspend_on(self)
SuspendOn() overload
Sourcefn suspend_off(self)
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§
impl<__T: IMoviePlayerBase> IMoviePlayerBaseMethods for __T
app-movieplayerbase only.