mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-18 08:25:04 +00:00
Rename _voice_count to _polyphony in SamplePlayer to be consistent with SamplePlayer2D
This commit is contained in:
@@ -214,7 +214,7 @@ void SamplePlayer2D::_bind_methods() {
|
||||
ObjectTypeDB::bind_method(_MD("set_sample_library","library:SampleLibrary"),&SamplePlayer2D::set_sample_library);
|
||||
ObjectTypeDB::bind_method(_MD("get_sample_library:SampleLibrary"),&SamplePlayer2D::get_sample_library);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("set_polyphony","voices"),&SamplePlayer2D::set_polyphony);
|
||||
ObjectTypeDB::bind_method(_MD("set_polyphony","max_voices"),&SamplePlayer2D::set_polyphony);
|
||||
ObjectTypeDB::bind_method(_MD("get_polyphony"),&SamplePlayer2D::get_polyphony);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("play","sample","voice"),&SamplePlayer2D::play,DEFVAL(NEXT_VOICE));
|
||||
|
||||
Reference in New Issue
Block a user