NavMesh
-=-=-=- -Fixed NavMesh API -New NavMesh demo -Support for animated Particles2D -Fixes for native video playback on iOS
This commit is contained in:
@@ -577,9 +577,9 @@ float _OS::get_frames_per_second() const {
|
||||
return OS::get_singleton()->get_frames_per_second();
|
||||
}
|
||||
|
||||
Error _OS::native_video_play(String p_path, float p_volume) {
|
||||
Error _OS::native_video_play(String p_path, float p_volume, String p_audio_track, String p_subtitle_track) {
|
||||
|
||||
return OS::get_singleton()->native_video_play(p_path, p_volume);
|
||||
return OS::get_singleton()->native_video_play(p_path, p_volume, p_audio_track, p_subtitle_track);
|
||||
};
|
||||
|
||||
bool _OS::native_video_is_playing() {
|
||||
|
||||
@@ -108,7 +108,7 @@ public:
|
||||
bool is_video_mode_resizable(int p_screen=0) const;
|
||||
Array get_fullscreen_mode_list(int p_screen=0) const;
|
||||
|
||||
Error native_video_play(String p_path, float p_volume);
|
||||
Error native_video_play(String p_path, float p_volume, String p_audio_track, String p_subtitle_track);
|
||||
bool native_video_is_playing();
|
||||
void native_video_pause();
|
||||
void native_video_stop();
|
||||
|
||||
@@ -438,7 +438,7 @@ int OS::get_processor_count() const {
|
||||
return 1;
|
||||
}
|
||||
|
||||
Error OS::native_video_play(String p_path, float p_volume) {
|
||||
Error OS::native_video_play(String p_path, float p_volume, String p_audio_track, String p_subtitle_track) {
|
||||
|
||||
return FAILED;
|
||||
};
|
||||
|
||||
@@ -323,7 +323,7 @@ public:
|
||||
|
||||
virtual String get_unique_ID() const;
|
||||
|
||||
virtual Error native_video_play(String p_path, float p_volume);
|
||||
virtual Error native_video_play(String p_path, float p_volume, String p_audio_track, String p_subtitle_track);
|
||||
virtual bool native_video_is_playing() const;
|
||||
virtual void native_video_pause();
|
||||
virtual void native_video_stop();
|
||||
|
||||
Reference in New Issue
Block a user