Method GetDecayedSignal
GetDecayedSignal(Vector3, bool, out Vector3, out Quaternion)
Get the signal that a listener at a given position would perceive
선언
public bool GetDecayedSignal(Vector3 listenerPosition, bool use2D, out Vector3 pos, out Quaternion rot)
파라미터
타입 | 이름 | 설명 |
---|---|---|
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 |
반환
타입 | 설명 |
---|---|
bool | true if non-trivial signal is returned |