mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
showbase: fix erroneous docstring (audio unit is metres by default)
This commit is contained in:
parent
b286780ae6
commit
8672054e30
@ -35,7 +35,7 @@ class Audio3DManager:
|
|||||||
def setDistanceFactor(self, factor):
|
def setDistanceFactor(self, factor):
|
||||||
"""
|
"""
|
||||||
Control the scale that sets the distance units for 3D spacialized audio.
|
Control the scale that sets the distance units for 3D spacialized audio.
|
||||||
Default is 1.0 which is adjust in panda to be feet.
|
Default is 1.0 which is adjust in panda to be meters.
|
||||||
When you change this, don't forget that this effects the scale of setSoundMinDistance
|
When you change this, don't forget that this effects the scale of setSoundMinDistance
|
||||||
"""
|
"""
|
||||||
self.audio_manager.audio3dSetDistanceFactor(factor)
|
self.audio_manager.audio3dSetDistanceFactor(factor)
|
||||||
@ -43,7 +43,7 @@ class Audio3DManager:
|
|||||||
def getDistanceFactor(self):
|
def getDistanceFactor(self):
|
||||||
"""
|
"""
|
||||||
Control the scale that sets the distance units for 3D spacialized audio.
|
Control the scale that sets the distance units for 3D spacialized audio.
|
||||||
Default is 1.0 which is adjust in panda to be feet.
|
Default is 1.0 which is adjust in panda to be meters.
|
||||||
"""
|
"""
|
||||||
return self.audio_manager.audio3dGetDistanceFactor()
|
return self.audio_manager.audio3dGetDistanceFactor()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user