Files
godot-docs/classes/class_spatialplayer.rst
Rémi Verschelde 1b5e8c18fd classref: Order everything alphabetically
And sync with current 2.0.x sources.
2016-06-25 02:10:54 +02:00

53 lines
1.9 KiB
ReStructuredText

.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
.. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
.. _class_SpatialPlayer:
SpatialPlayer
=============
**Inherits:** :ref:`Spatial<class_spatial>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
**Inherited By:** :ref:`SpatialStreamPlayer<class_spatialstreamplayer>`, :ref:`SpatialSamplePlayer<class_spatialsampleplayer>`
**Category:** Core
Brief Description
-----------------
Member Functions
----------------
+----------------------------+----------------------------------------------------------------------------------------------------------------------------+
| :ref:`float<class_float>` | :ref:`get_param<class_SpatialPlayer_get_param>` **(** :ref:`int<class_int>` param **)** const |
+----------------------------+----------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`set_param<class_SpatialPlayer_set_param>` **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)** |
+----------------------------+----------------------------------------------------------------------------------------------------------------------------+
Numeric Constants
-----------------
- **PARAM_VOLUME_DB** = **0**
- **PARAM_PITCH_SCALE** = **1**
- **PARAM_ATTENUATION_MIN_DISTANCE** = **2**
- **PARAM_ATTENUATION_MAX_DISTANCE** = **3**
- **PARAM_ATTENUATION_DISTANCE_EXP** = **4**
- **PARAM_EMISSION_CONE_DEGREES** = **5**
- **PARAM_EMISSION_CONE_ATTENUATION_DB** = **6**
- **PARAM_MAX** = **7**
Member Function Description
---------------------------
.. _class_SpatialPlayer_get_param:
- :ref:`float<class_float>` **get_param** **(** :ref:`int<class_int>` param **)** const
.. _class_SpatialPlayer_set_param:
- void **set_param** **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)**