Add missing GDVIRTUAL_BIND(_get_supported_extensions) on MovieWriter
(cherry picked from commit 475e7452eb4a9e157acfe96f1949a4e266df2f16)
This commit is contained in:
committed by
Thaddeus Crews
parent
92abb85445
commit
499ca0b8df
@@ -30,6 +30,12 @@
|
||||
Called when the audio speaker mode used for recording the audio is requested by the engine. This can affect the number of output channels in the resulting audio file/stream. Defaults to [constant AudioServer.SPEAKER_MODE_STEREO] if [method _get_audio_speaker_mode] is not overridden.
|
||||
</description>
|
||||
</method>
|
||||
<method name="_get_supported_extensions" qualifiers="virtual required const">
|
||||
<return type="PackedStringArray" />
|
||||
<description>
|
||||
Returns the list of supported filename extensions for movies written with this [MovieWriter].
|
||||
</description>
|
||||
</method>
|
||||
<method name="_handles_file" qualifiers="virtual required const">
|
||||
<return type="bool" />
|
||||
<param index="0" name="path" type="String" />
|
||||
|
||||
@@ -138,6 +138,7 @@ void MovieWriter::_bind_methods() {
|
||||
GDVIRTUAL_BIND(_get_audio_speaker_mode)
|
||||
|
||||
GDVIRTUAL_BIND(_handles_file, "path")
|
||||
GDVIRTUAL_BIND(_get_supported_extensions)
|
||||
|
||||
GDVIRTUAL_BIND(_write_begin, "movie_size", "fps", "base_path")
|
||||
GDVIRTUAL_BIND(_write_frame, "frame_image", "audio_frame_block")
|
||||
|
||||
Reference in New Issue
Block a user