pub trait IMoviePlayerMethods: IMoviePlayer {
Show 23 methods
// Provided methods
fn ctor(
self,
movie_file_name: impl Into<Il2CppString>,
is_movie_file_name_direct: impl Into<bool>,
) { ... }
fn error_callback(
self,
player: impl Into<VideoPlayer>,
mess: impl Into<Il2CppString>,
) { ... }
fn loop_point_reached(self, player: impl Into<VideoPlayer>) { ... }
fn frame_ready(
self,
player: impl Into<VideoPlayer>,
frame_idx: impl Into<i64>,
) { ... }
fn setup_after_load_scene(self) -> bool { ... }
fn setup_by_movie_canvas_prefab(
self,
canvas_prefab: impl Into<GameObject>,
) -> bool { ... }
fn set_movie_file_path_to_video_player(self) -> bool { ... }
fn enable_sound_event(self) { ... }
fn disable_sound_event(self) { ... }
fn is_true_play_end(self) -> bool { ... }
fn get_screen_object_name(self) -> Il2CppString { ... }
fn is_paused(self) -> bool { ... }
fn is_playing(self) -> bool { ... }
fn is_play_end(self) -> bool { ... }
fn get_movie_length(self) -> f32 { ... }
fn get_playing_position(self) -> f32 { ... }
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 error_callback(
self,
player: impl Into<VideoPlayer>,
mess: impl Into<Il2CppString>,
)
fn error_callback( self, player: impl Into<VideoPlayer>, mess: impl Into<Il2CppString>, )
ErrorCallback(crate::unity_engine::video::videoplayer::VideoPlayer, ::unity::Il2CppString) overload
Sourcefn loop_point_reached(self, player: impl Into<VideoPlayer>)
fn loop_point_reached(self, player: impl Into<VideoPlayer>)
LoopPointReached(crate::unity_engine::video::videoplayer::VideoPlayer) overload
Sourcefn frame_ready(self, player: impl Into<VideoPlayer>, frame_idx: impl Into<i64>)
fn frame_ready(self, player: impl Into<VideoPlayer>, frame_idx: impl Into<i64>)
FrameReady(crate::unity_engine::video::videoplayer::VideoPlayer, i64) 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 set_movie_file_path_to_video_player(self) -> bool
fn set_movie_file_path_to_video_player(self) -> bool
SetMovieFilePathToVideoPlayer() overload
Sourcefn enable_sound_event(self)
fn enable_sound_event(self)
EnableSoundEvent() overload
Sourcefn disable_sound_event(self)
fn disable_sound_event(self)
DisableSoundEvent() overload
Sourcefn is_true_play_end(self) -> bool
fn is_true_play_end(self) -> bool
IsTruePlayEnd() 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 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 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: IMoviePlayer> IMoviePlayerMethods for __T
app-movieplayer only.