Method GetDecayedSignal
GetDecayedSignal(Vector3, bool, out Vector3, out Quaternion)
Get the signal that a listener at a given position would perceive
Declaration
public bool GetDecayedSignal(Vector3 listenerPosition, bool use2D, out Vector3 pos, out Quaternion rot)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | listenerPosition | The listener's position in world space |
bool | use2D | True if distance calculation should ignore Z |
Vector3 | pos | The position impulse signal |
Quaternion | rot | The rotation impulse signal |
Returns
Type | Description |
---|---|
bool | true if non-trivial signal is returned |