Doc: fix type of stream object
This commit is contained in:
parent
3e3f16fefc
commit
7820e590ea
|
@ -342,8 +342,8 @@ int StreamPlayer::get_buffering_msec() const{
|
|||
|
||||
void StreamPlayer::_bind_methods() {
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("set_stream","stream:Stream"),&StreamPlayer::set_stream);
|
||||
ObjectTypeDB::bind_method(_MD("get_stream:Stream"),&StreamPlayer::get_stream);
|
||||
ObjectTypeDB::bind_method(_MD("set_stream","stream:AudioStream"),&StreamPlayer::set_stream);
|
||||
ObjectTypeDB::bind_method(_MD("get_stream:AudioStream"),&StreamPlayer::get_stream);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("play","offset"),&StreamPlayer::play,DEFVAL(0));
|
||||
ObjectTypeDB::bind_method(_MD("stop"),&StreamPlayer::stop);
|
||||
|
|
Loading…
Reference in New Issue