NavMesh
-=-=-=- -Fixed NavMesh API -New NavMesh demo -Support for animated Particles2D -Fixes for native video playback on iOS
This commit is contained in:
parent
56b30b31e4
commit
d5cb758d36
14 changed files with 224 additions and 20 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue